From 369fb8324969a94c2f243ea56641993ee2061e60 Mon Sep 17 00:00:00 2001 From: Alex Elder Date: Mon, 6 Oct 2014 06:53:07 -0500 Subject: [PATCH] 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 --- drivers/staging/greybus/greybus.h | 9 --------- 1 file changed, 9 deletions(-) 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)))); -- 2.39.5