Return-path: Received: from mga06.intel.com ([134.134.136.31]:14549 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbdG1P4p (ORCPT ); Fri, 28 Jul 2017 11:56:45 -0400 Date: Fri, 28 Jul 2017 23:55:42 +0800 From: kbuild test robot To: Ian Molton Cc: kbuild-all@01.org, linux-wireless@vger.kernel.org, arend.vanspriel@broadcom.com, franky.lin@broadcom.com, hante.meuleman@broadcom.com Subject: [PATCH] brcmfmac: fix semicolon.cocci warnings Message-ID: <20170728155542.GA45940@lkp-g5.lkp.intel.com> (sfid-20170728_175648_920483_FDFB73D1) References: <201707282310.BzvLNSlV%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20170726202557.15632-33-ian@mnementh.co.uk> Sender: linux-wireless-owner@vger.kernel.org List-ID: drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:316:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 4451d20a99c4 ("brcmfmac: Replace function index with function pointer") CC: Ian Molton Signed-off-by: Fengguang Wu --- bcmsdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c @@ -313,7 +313,7 @@ static int brcmf_sdiod_buff_read(struct break; default: BUG(); - }; + } if (err == -ENOMEDIUM) brcmf_sdiod_change_state(sdiodev, BRCMF_SDIOD_NOMEDIUM);