diff mbox

[05/17] Simplified function GetSupportedWirelessMode8185()

Message ID 1352757511-26957-6-git-send-email-maxtram95@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Maxim Mikityanskiy Nov. 12, 2012, 9:58 p.m. UTC
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
---
 r8185b_init.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox

Patch

diff --git a/r8185b_init.c b/r8185b_init.c
index 1ab8513..0b5c34b 100644
--- a/r8185b_init.c
+++ b/r8185b_init.c
@@ -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,