staging: rtl8187se: Simplified function GetSupportedWirelessMode8185()
Removed unnecessary variable in GetSupportedWirelessMode8185() and shortened its code Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ddedb78aac
commit
d4457a8e42
1 changed files with 1 additions and 4 deletions
|
|
@ -927,10 +927,7 @@ static void MacConfig_85BASIC(struct net_device *dev)
|
|||
|
||||
u8 GetSupportedWirelessMode8185(struct net_device *dev)
|
||||
{
|
||||
u8 btSupportedWirelessMode = 0;
|
||||
|
||||
btSupportedWirelessMode = (WIRELESS_MODE_B | WIRELESS_MODE_G);
|
||||
return btSupportedWirelessMode;
|
||||
return WIRELESS_MODE_B | WIRELESS_MODE_G;
|
||||
}
|
||||
|
||||
void ActUpdateChannelAccessSetting(struct net_device *dev,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue