staging: rtl8192u: Deleted 'rtl819xU_cmd_isr' function in r8192U_core.c
authorAna Rey <anarey@gmail.com>
Thu, 13 Mar 2014 16:54:56 +0000 (17:54 +0100)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 17 Mar 2014 00:46:55 +0000 (17:46 -0700)
This patch delete the 'rtl819xU_cmd_isr' function that is not used in
anywhere in the driver.

Fix the following sparse warning in r8192U_core.c

drivers/staging/rtl8192u/r8192U_core.c:1516:6: warning: symbol 'rtl819xU_cmd_isr' was not declared. Should it be static?

Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/rtl8192u/r8192U_core.c

index 013f22901dbac1a6e6f77cf0e3d8de9a6eb3640c..47489bdbc20743c311bd7b5826e2e94dcef15f44 100644 (file)
@@ -1555,11 +1555,6 @@ u16 N_DBPSOfRate(u16 DataRate)
        return N_DBPS;
 }
 
-void rtl819xU_cmd_isr(struct urb *tx_cmd_urb, struct pt_regs *regs)
-{
-       usb_free_urb(tx_cmd_urb);
-}
-
 unsigned int txqueue2outpipe(struct r8192_priv *priv, unsigned int tx_queue)
 {
        if (tx_queue >= 9) {