diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2017-04-23 10:37:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-28 12:34:14 +0200 |
commit | 7ecb36442d12f197310a336a0e963badd238f35e (patch) | |
tree | d6345fb50ba3391ff0cc6c4d6528863663f7c3c7 | |
parent | b58f45c8fc301fe83ee28cad3e64686c19e78f1c (diff) |
staging: rtl8723bs: declare private function as static
This fixes a sparse warning regarding an undeclared symbol. Since the
function is private to rtw_recv.c, it should be declared as static.
Signed-off-by: Kenneth Hsu <kennethhsu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_recv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c index 74e11948c015..695a5c958c80 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -1717,7 +1717,8 @@ sint wlanhdr_to_ethhdr(union recv_frame *precvframe) } /* perform defrag */ -union recv_frame *recvframe_defrag(struct adapter *adapter, struct __queue *defrag_q) +static union recv_frame *recvframe_defrag(struct adapter *adapter, + struct __queue *defrag_q) { struct list_head *plist, *phead; u8 *data, wlanhdr_offset; |