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:
parent
708c126695
commit
1cd9ba1477
@ -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);
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user