]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: brcm80211: clean up checkpatch error
authorArend van Spriel <arend@broadcom.com>
Tue, 5 Jul 2011 22:02:28 +0000 (00:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:47:46 +0000 (19:47 -0700)
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 <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c

index 4c0a03184b0ef22466a9d0ca613afa7ad9c10d6d..3f3f0eeafba722012dcb0dcee2fd47ff9454a974 100644 (file)
@@ -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 {