diff --git a/drivers/staging/greybus/module.c b/drivers/staging/greybus/module.c index f72e6aef4dc4db029d084c4c2e6544c42ed52a36..c424a5ac25e7cdd2a193e5f9c27733eac85d385e 100644 --- a/drivers/staging/greybus/module.c +++ b/drivers/staging/greybus/module.c @@ -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); diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h index facc8ba0fa4048a49e482e832c86c7672fe19afa..2fdca57398d233e86a9e5829dc46c6789a2762f9 100644 --- a/drivers/staging/greybus/module.h +++ b/drivers/staging/greybus/module.h @@ -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)