greybus: module: remove obsolete gb_tty pointer
authorGreg Kroah-Hartman <greg@kroah.com>
Thu, 11 Dec 2014 22:10:54 +0000 (17:10 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 12 Dec 2014 00:53:59 +0000 (19:53 -0500)
We aren't using this anymore, so remove gb_tty from struct gb_module.

Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/module.c
drivers/staging/greybus/module.h

index f72e6ae..c424a5a 100644 (file)
@@ -132,8 +132,6 @@ void gb_module_destroy(struct gb_module *gmod)
        list_del(&gmod->links);
        spin_unlock_irq(&gb_modules_lock);
 
-       /* XXX Do something with gmod->gb_tty */
-
        gb_interface_destroy(gmod);
 
        kfree(gmod->product_string);
index facc8ba..2fdca57 100644 (file)
@@ -28,8 +28,6 @@ struct gb_module {
        u64 unique_id;
 
        struct greybus_host_device *hd;
-
-       struct gb_tty *gb_tty;
 };
 #define to_gb_module(d) container_of(d, struct gb_module, dev)