aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wfx
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-10-09 21:50:29 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-10 10:47:12 +0200
commitdc3d13fba4695f53d55d4eebe0d714c8b1da62bd (patch)
tree7ef4ff1cd943d3c309e1a031c3255b4278d71687 /drivers/staging/wfx
parentstaging: wfx: Make function 'sram_write_dma_safe', 'load_firmware_secure' static (diff)
downloadlinux-dev-dc3d13fba4695f53d55d4eebe0d714c8b1da62bd.tar.xz
linux-dev-dc3d13fba4695f53d55d4eebe0d714c8b1da62bd.zip
staging: wfx: Make function 'wfx_tx_queue_get' static
Fix sparse warnings: drivers/staging/wfx/queue.c:218:16: warning: symbol 'wfx_tx_queue_get' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Reviewed-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/1570629030-29888-3-git-send-email-zhengbin13@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx')
-rw-r--r--drivers/staging/wfx/queue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/wfx/queue.c b/drivers/staging/wfx/queue.c
index ee9b2c3fde5a..ef3ee55cf621 100644
--- a/drivers/staging/wfx/queue.c
+++ b/drivers/staging/wfx/queue.c
@@ -215,7 +215,9 @@ void wfx_tx_queue_put(struct wfx_dev *wdev, struct wfx_queue *queue, struct sk_b
spin_unlock_bh(&queue->queue.lock);
}
-struct sk_buff *wfx_tx_queue_get(struct wfx_dev *wdev, struct wfx_queue *queue, u32 link_id_map)
+static struct sk_buff *wfx_tx_queue_get(struct wfx_dev *wdev,
+ struct wfx_queue *queue,
+ u32 link_id_map)
{
struct sk_buff *skb = NULL;
struct sk_buff *item;