staging/rtl8192u: remove unused function
authorNicolas Joseph <nicolas.joseph@homecomputing.fr>
Tue, 15 Sep 2015 09:35:20 +0000 (11:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Sep 2015 13:47:06 +0000 (06:47 -0700)
Remove unused function N_DBPSOfRate. This function was only used by
function ComputeTxTime that was removed in the previous
commit 742728f97a99 ("staging: rtl8192u: remove unused function.")

Signed-off-by: Nicolas Joseph <nicolas.joseph@homecomputing.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c

index b143b36eb57d7004abe9425cf0a9bca2e813421e..80a6a4fcea9207344f0874378e55da79f0d6e3d5 100644 (file)
@@ -1227,50 +1227,6 @@ inline u8 rtl8192_IsWirelessBMode(u16 rate)
                return 0;
 }
 
-u16 N_DBPSOfRate(u16 DataRate)
-{
-       u16 N_DBPS = 24;
-
-       switch (DataRate) {
-       case 60:
-               N_DBPS = 24;
-               break;
-
-       case 90:
-               N_DBPS = 36;
-               break;
-
-       case 120:
-               N_DBPS = 48;
-               break;
-
-       case 180:
-               N_DBPS = 72;
-               break;
-
-       case 240:
-               N_DBPS = 96;
-               break;
-
-       case 360:
-               N_DBPS = 144;
-               break;
-
-       case 480:
-               N_DBPS = 192;
-               break;
-
-       case 540:
-               N_DBPS = 216;
-               break;
-
-       default:
-               break;
-       }
-
-       return N_DBPS;
-}
-
 short rtl819xU_tx_cmd(struct net_device *dev, struct sk_buff *skb)
 {
        struct r8192_priv *priv = ieee80211_priv(dev);