Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:57635 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753733AbbBZNDy (ORCPT ); Thu, 26 Feb 2015 08:03:54 -0500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Subject: Re: brcm80211: drop unreachable else case From: Kalle Valo In-Reply-To: <1423229210-7313-1-git-send-email-hofrat@osadl.org> To: Nicholas Mc Guire Cc: Brett Rudley , Arend van Spriel , "Franky (Zhenhui) Lin" , Hante Meuleman , Fabian Frederick , "John W. Linville" , "David S. Miller" , linux-wireless@vger.kernel.org, brcm80211-dev-list@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nicholas Mc Guire Message-Id: <20150226130354.06FE5140580@smtp.codeaurora.org> (sfid-20150226_140418_235613_49FBD4D6) Date: Thu, 26 Feb 2015 13:03:53 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: > 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 Thanks, applied to wireless-drivers-next.git. Kalle Valo