Commit 369fb832 authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman

greybus: bury some dead code

One data structure and a few fields in another one are no longer
used, and were not removed when they should have been.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent f6aec251
......@@ -120,12 +120,6 @@
struct gbuf;
struct gmod_string {
u16 length;
u8 id;
u8 string[0];
};
typedef void (*gbuf_complete_t)(struct gbuf *gbuf);
struct gbuf {
......@@ -194,10 +188,7 @@ struct greybus_host_device {
struct list_head modules;
struct list_head connections;
struct ida cport_id_map;
u16 cport_id_count; /* How many have been allocated */
u16 cport_id_next_free; /* Where to start checking anyway */
/* Private data for the host driver */
unsigned long hd_priv[0] __attribute__ ((aligned(sizeof(s64))));
......
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