diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-10-09 21:50:29 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-10 10:47:12 +0200 |
commit | dc3d13fba4695f53d55d4eebe0d714c8b1da62bd (patch) | |
tree | 7ef4ff1cd943d3c309e1a031c3255b4278d71687 /drivers/staging/wfx | |
parent | 7638621da743388629b3754a867a27184722c83c (diff) | |
download | linux-stable-dc3d13fba4695f53d55d4eebe0d714c8b1da62bd.tar.gz linux-stable-dc3d13fba4695f53d55d4eebe0d714c8b1da62bd.tar.bz2 linux-stable-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.c | 4 |
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; |