Commit 1cd9ba14 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: module: remove obsolete gb_tty pointer

We aren't using this anymore, so remove gb_tty from struct gb_module.
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 708c1266
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment