From: Raphaël Beamonte Date: Tue, 18 Aug 2015 16:58:12 +0000 (-0400) Subject: staging: rtl8192u: r8192U_core: remove forward declarations in .c file X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b31c1013502848fef8e5ead3d920d46b8b1d1e4c;p=deliverable%2Flinux.git staging: rtl8192u: r8192U_core: remove forward declarations in .c file Checkpatch was giving a "externs should be avoided in .c files" because of these forward declarations. As these were not useful in this case, they have been removed. Signed-off-by: Raphaël Beamonte Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 4425335693f4..cd14c0a680da 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -1000,9 +1000,6 @@ static int rtl8192_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) return ret; } - -void rtl8192_try_wake_queue(struct net_device *dev, int pri); - static void rtl8192_tx_isr(struct urb *tx_urb) { struct sk_buff *skb = (struct sk_buff *)tx_urb->context; @@ -1223,9 +1220,6 @@ inline u8 rtl8192_IsWirelessBMode(u16 rate) return 0; } -u16 N_DBPSOfRate(u16 DataRate); - - u16 N_DBPSOfRate(u16 DataRate) { u16 N_DBPS = 24;