From: Alex Elder Date: Mon, 6 Oct 2014 11:53:07 +0000 (-0500) Subject: greybus: bury some dead code X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~2036 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=369fb8324969a94c2f243ea56641993ee2061e60;p=karo-tx-linux.git 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: Alex Elder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h index 4404d93b5a33..f4ca18aba2a6 100644 --- a/drivers/staging/greybus/greybus.h +++ b/drivers/staging/greybus/greybus.h @@ -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))));