]> git.baikalelectronics.ru Git - kernel.git/commit
brcm80211: drop unreachable else case
authorNicholas Mc Guire <hofrat@osadl.org>
Fri, 6 Feb 2015 13:26:50 +0000 (08:26 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Feb 2015 13:03:12 +0000 (15:03 +0200)
commitb2337a69e68e11fb1db223c6cb1a662bc84f3baa
tree0aa9248b7bca067a28fff99e26a978718d23c050
parentb70f9e81a280119e1facdf5319a084346892d44a
brcm80211: drop unreachable else case

the if/elseif/else is exhaustive - there is no 4th case given the
  rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  RADIO_2055_WBRSSI_G2_SEL;
so this unreachable else case (dead code) can be dropped.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c