From 5e1ad18a8d198ccb0e201cb444a58f7e277dfb4d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 10 Aug 2009 16:34:22 -0700 Subject: Staging: rtl8192e: fix lots of sparse warnings This removes a number of static and extern warnings that sparse complains about. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/r8190_rtl8256.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'drivers/staging/rtl8192e/r8190_rtl8256.c') diff --git a/drivers/staging/rtl8192e/r8190_rtl8256.c b/drivers/staging/rtl8192e/r8190_rtl8256.c index da628c5..0eaee3a 100644 --- a/drivers/staging/rtl8192e/r8190_rtl8256.c +++ b/drivers/staging/rtl8192e/r8190_rtl8256.c @@ -418,7 +418,7 @@ void PHY_SetRF8256OFDMTxPower(struct net_device* dev, u8 powerlevel) } #define MAX_DOZE_WAITING_TIMES_9x 64 -bool +static bool SetRFPowerState8190( struct net_device* dev, RT_RF_POWER_STATE eRFPowerState @@ -717,7 +717,7 @@ SetRFPowerState8190( // // 050823, by rcnjko. // -bool +static bool SetRFPowerState( struct net_device* dev, RT_RF_POWER_STATE eRFPowerState @@ -745,7 +745,7 @@ SetRFPowerState( return bResult; } -void +static void MgntDisconnectIBSS( struct net_device* dev ) @@ -823,7 +823,7 @@ MgntDisconnectIBSS( } -void +static void MlmeDisassociateRequest( struct net_device* dev, u8* asSta, @@ -837,7 +837,7 @@ MlmeDisassociateRequest( SendDisassociation( priv->ieee80211, asSta, asRsn ); - if(memcpy(priv->ieee80211->current_network.bssid,asSta,6) == 0) + if(memcpy(priv->ieee80211->current_network.bssid,asSta,6) == NULL) { //ShuChen TODO: change media status. //ShuChen TODO: What to do when disassociate. @@ -891,7 +891,7 @@ MlmeDisassociateRequest( } -void +static void MgntDisconnectAP( struct net_device* dev, u8 asRsn @@ -945,7 +945,7 @@ MgntDisconnectAP( } -bool +static bool MgntDisconnect( struct net_device* dev, u8 asRsn -- cgit v1.1