From: Martin Kepplinger Date: Sun, 7 Sep 2014 14:12:30 +0000 (+0200) Subject: rtl8192u: remove typedef X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=676d22047902753cc199be9f1242b18db7e7b134;p=linux-beck.git rtl8192u: remove typedef remove a typedef that is not even really used. Signed-off-by: Martin Kepplinger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 3707d0370448..a4e1d6b63423 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -137,12 +137,12 @@ static struct usb_driver rtl8192_usb_driver = { }; -typedef struct _CHANNEL_LIST { +struct CHANNEL_LIST { u8 Channel[32]; u8 Len; -} CHANNEL_LIST, *PCHANNEL_LIST; +}; -static CHANNEL_LIST ChannelPlan[] = { +static struct CHANNEL_LIST ChannelPlan[] = { {{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165}, 24}, //FCC {{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}, 11}, //IC {{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64}, 21}, //ETSI