aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/hd.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-25 15:59:21 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-25 15:35:59 -0800
commit0f37860de9a86d25f86ccc95631fa03fa766f31e (patch)
tree31854eac530903f1681a84dd81afd48387084424 /drivers/staging/greybus/hd.c
parentgreybus: loopback: remove endo reference (diff)
downloadlinux-dev-0f37860de9a86d25f86ccc95631fa03fa766f31e.tar.xz
linux-dev-0f37860de9a86d25f86ccc95631fa03fa766f31e.zip
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/hd.c')
-rw-r--r--drivers/staging/greybus/hd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/greybus/hd.c b/drivers/staging/greybus/hd.c
index 2ee5d4ff57fc..b280925792b5 100644
--- a/drivers/staging/greybus/hd.c
+++ b/drivers/staging/greybus/hd.c
@@ -130,13 +130,7 @@ EXPORT_SYMBOL_GPL(gb_hd_add);
void gb_hd_del(struct gb_host_device *hd)
{
- /*
- * Tear down all interfaces, modules, and the endo that is associated
- * with this host controller before freeing the memory associated with
- * the host controller.
- */
gb_interfaces_remove(hd);
- gb_endo_remove(hd->endo);
gb_connection_destroy(hd->svc_connection);