Staging: rtl8188eu: Fix warning of braces not necessary.
authorElena Oat <oat.elena@gmail.com>
Wed, 19 Mar 2014 12:49:11 +0000 (14:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 16:13:37 +0000 (09:13 -0700)
This small patch fixes the warning of "braces are
necessary for any arm of this statement" in file rtw_efuse.c.

Signed-off-by: Elena Oat <oat.elena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c

index f6a2ee3b94246a11e44bbbeb2d770d1243448f87..37c3f0cb9defa81a818134424e6d4e258230b258 100644 (file)
@@ -76,11 +76,10 @@ Efuse_Write1ByteToFakeContent(
 {
        if (Offset >= EFUSE_MAX_HW_SIZE)
                return false;
-       if (fakeEfuseBank == 0) {
+       if (fakeEfuseBank == 0)
                fakeEfuseContent[Offset] = Value;
-       } else {
+       else
                fakeBTEfuseContent[fakeEfuseBank-1][Offset] = Value;
-       }
        return true;
 }