From: Ana Rey Date: Thu, 13 Mar 2014 16:54:52 +0000 (+0100) Subject: staging: rtl8192u: Deleted 'alloc_tx_beacon_desc_ring' function in r8192U_core.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a72eea3b7ee1c855f5c613062f0428fd4c7ec9b0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8192u: Deleted 'alloc_tx_beacon_desc_ring' function in r8192U_core.c This patch delete the 'alloc_tx_beacon_desc_ring' 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:883:5: warning: symbol 'alloc_tx_beacon_desc_ring' was not declared. Should it be static? Signed-off-by: Ana Rey Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 8ab2c413fe47..013f22901dba 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -903,12 +903,6 @@ void rtl8192_rtx_disable(struct net_device *dev) return; } - -int alloc_tx_beacon_desc_ring(struct net_device *dev, int count) -{ - return 0; -} - inline u16 ieeerate2rtlrate(int rate) { switch (rate) {