From: Luca Ceresoli Date: Tue, 6 Sep 2016 16:36:54 +0000 (+0200) Subject: staging: rtl8188eu: declare internal function as static X-Git-Tag: v4.9-rc1~119^2~663 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=181c6c679de13d1f6df182279e6b242a4352972b;p=karo-tx-linux.git staging: rtl8188eu: declare internal function as static This function is only used inside rtw_recv.c. Which is quite logical, since it's a timer callback: it is passed as the _fn argument to setup_timer(). So it is internal to rtw_recv.c and should be static. Signed-off-by: Luca Ceresoli Cc: Bhaktipriya Shridhar Cc: Andy Shevchenko Cc: Geliang Tang Cc: Jakub Sitnicki Cc: Ivan Safonov Cc: Kyle Kuffermann Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/core/rtw_recv.c b/drivers/staging/rtl8188eu/core/rtw_recv.c index 977bb2532c3e..1063617b0ce4 100644 --- a/drivers/staging/rtl8188eu/core/rtw_recv.c +++ b/drivers/staging/rtl8188eu/core/rtw_recv.c @@ -39,7 +39,7 @@ static u8 rtw_rfc1042_header[] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 }; -void rtw_signal_stat_timer_hdl(unsigned long data); +static void rtw_signal_stat_timer_hdl(unsigned long data); void _rtw_init_sta_recv_priv(struct sta_recv_priv *psta_recvpriv) { @@ -2088,7 +2088,7 @@ _recv_entry_drop: return ret; } -void rtw_signal_stat_timer_hdl(unsigned long data) +static void rtw_signal_stat_timer_hdl(unsigned long data) { struct adapter *adapter = (struct adapter *)data; struct recv_priv *recvpriv = &adapter->recvpriv;