diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-11-25 14:59:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-11-25 23:35:59 (GMT) |
commit | 0f37860de9a86d25f86ccc95631fa03fa766f31e (patch) | |
tree | 31854eac530903f1681a84dd81afd48387084424 /drivers/staging/greybus/svc.c | |
parent | dc3da5db2858c3fb33441988d1b6d56c06e53d7d (diff) | |
download | linux-0f37860de9a86d25f86ccc95631fa03fa766f31e.tar.xz |
greybus: kill the endo
Remove the now unused endo and module code.
Note that the never-implemented serial and version attributes of the
endo can be implemented as svc attributes if needed.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/svc.c')
-rw-r--r-- | drivers/staging/greybus/svc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index 62b67cc..42cc7e9 100644 --- a/drivers/staging/greybus/svc.c +++ b/drivers/staging/greybus/svc.c @@ -310,14 +310,9 @@ static int gb_svc_hello(struct gb_operation *op) { struct gb_connection *connection = op->connection; struct gb_svc *svc = connection->private; - struct gb_host_device *hd = connection->hd; struct gb_svc_hello_request *hello_request; int ret; - /* - * SVC sends information about the endo and interface-id on the hello - * request, use that to create an endo. - */ if (op->request->payload_size < sizeof(*hello_request)) { dev_warn(&svc->dev, "short hello request (%zu < %zu)\n", op->request->payload_size, @@ -335,11 +330,6 @@ static int gb_svc_hello(struct gb_operation *op) return ret; } - /* Setup Endo */ - ret = greybus_endo_setup(hd, svc->endo_id, svc->ap_intf_id); - if (ret) - return ret; - return 0; } |