greybus: module: remove obsolete gb_tty pointer

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>
This commit is contained in:
Greg Kroah-Hartman 2014-12-11 17:10:54 -05:00
parent 708c126695
commit 1cd9ba1477
2 changed files with 0 additions and 4 deletions

View 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);

View 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)