iwlegacy: remove unreachable code
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Fri, 3 Jun 2011 02:06:06 +0000 (21:06 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:16:32 +0000 (15:16 -0400)
return; at the end of the function is unecessary.

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-eeprom.c

index cb346d1a9ffa6e5f581b5b9c9c0a52f6ffafed3a..5bf3f49b74abc73d196342538bb4c067523cd829 100644 (file)
@@ -316,7 +316,6 @@ static void iwl_legacy_init_band_reference(const struct iwl_priv *priv,
                break;
        default:
                BUG();
-               return;
        }
 }