From de7ecde62b40b3d321d3a7a0018e39c396040174 Mon Sep 17 00:00:00 2001 From: Himangi Saraogi Date: Mon, 10 Mar 2014 17:28:55 +0530 Subject: [PATCH] staging:rtl8821ae:Fix sparse warning of static function declaration This patch makes the function _rtl8821ae_map_hwqueue_to_fwqueue static as it is used only in the file trx.c. Signed-off-by: Himangi Saraogi Signed-off-by: Peter P Waskiewicz Jr --- drivers/staging/rtl8821ae/rtl8821ae/trx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/trx.c b/drivers/staging/rtl8821ae/rtl8821ae/trx.c index 5f3246454e3e..dd0f6dcb3085 100644 --- a/drivers/staging/rtl8821ae/rtl8821ae/trx.c +++ b/drivers/staging/rtl8821ae/rtl8821ae/trx.c @@ -38,7 +38,7 @@ #include "led.h" #include "dm.h" -u8 _rtl8821ae_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) +static u8 _rtl8821ae_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) { u16 fc = rtl_get_fc(skb); -- 2.30.2