summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u/r8192U_core.c
diff options
context:
space:
mode:
authorRaphaël Beamonte <raphael.beamonte@gmail.com>2015-08-18 12:58:12 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-12 18:24:34 -0700
commitb31c1013502848fef8e5ead3d920d46b8b1d1e4c (patch)
tree3619a6a1478f2a4d0ac1cf5cb789dc64ce3d8acd /drivers/staging/rtl8192u/r8192U_core.c
parentcf47ca02250d2420e2511853e6f9a1059bf13e04 (diff)
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 <raphael.beamonte@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r8192U_core.c')
-rw-r--r--drivers/staging/rtl8192u/r8192U_core.c6
1 files changed, 0 insertions, 6 deletions
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;