From 6a1bf3a5d134c0a48594ca5a29433eca3ebe55a1 Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Thu, 13 Mar 2014 17:54:56 +0100 Subject: [PATCH] staging: rtl8192u: Deleted 'rtl819xU_cmd_isr' function in r8192U_core.c 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 Signed-off-by: Peter P Waskiewicz Jr --- drivers/staging/rtl8192u/r8192U_core.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 013f22901dba..47489bdbc207 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -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) { -- 2.20.1