From: Arend van Spriel Date: Tue, 5 Jul 2011 22:02:28 +0000 (+0200) Subject: staging: brcm80211: clean up checkpatch error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fbc6dda1b01e90a4600ba1d01a8e2d057d25fe0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: brcm80211: clean up checkpatch error A checkpatch error was introduced in following commit: 0f22b8a staging: brcm80211: remove MMC_SDIO_ABORT macro definition The patch gets rid of the error. Reviewed-by: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c index 4c0a03184b0e..3f3f0eeafba7 100644 --- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c +++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c @@ -567,8 +567,7 @@ brcmf_sdioh_request_byte(struct sdioh_info *sd, uint rw, uint func, sdio_writeb(gInstance->func[func], *byte, regaddr, &err_ret); sdio_release_host(gInstance->func[func]); - } - else if (regaddr < 0xF0) { + } else if (regaddr < 0xF0) { sd_err(("brcmf: F0 Wr:0x%02x: write " "disallowed\n", regaddr)); } else {