]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drivers/net/wireless/b43/main.c:4351: Fixed coding style
authorDaniel Ngu <daniel.dy.ngu@gmail.com>
Mon, 22 Mar 2010 11:52:44 +0000 (00:52 +1300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 23 Mar 2010 20:51:59 +0000 (16:51 -0400)
WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: Daniel Ngu <daniel.dy.ngu@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c

index 1521b1e78d2194309a0b12cd836925b07b9d5a85..14cf3bd7ea51f493aa9608a3ca6a5243267dace6 100644 (file)
@@ -4348,11 +4348,10 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
        b43_set_phytxctl_defaults(dev);
 
        /* Minimum Contention Window */
-       if (phy->type == B43_PHYTYPE_B) {
+       if (phy->type == B43_PHYTYPE_B)
                b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MINCONT, 0x1F);
-       } else {
+       else
                b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MINCONT, 0xF);
-       }
        /* Maximum Contention Window */
        b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MAXCONT, 0x3FF);