OSDN Git Service

staging: rtl8192u: Fix indentation for cleaner code
authorSumera Priyadarsini <sylphrenadin@gmail.com>
Sun, 6 Oct 2019 10:53:00 +0000 (16:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2019 10:25:47 +0000 (12:25 +0200)
Fixes indentation for if condition in the file r8190_rtl8256.c for
better readability as suggested by Dan Carpenter.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com>
Link: https://lore.kernel.org/r/20191006105300.10181-1-sylphrenadin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8190_rtl8256.c

index b169460..63e0f7b 100644 (file)
@@ -43,8 +43,8 @@ void phy_set_rf8256_bandwidth(struct net_device *dev, enum ht_channel_width Band
                switch (Bandwidth) {
                case HT_CHANNEL_WIDTH_20:
                                if (priv->card_8192_version == VERSION_819XU_A ||
-                                       priv->card_8192_version ==
-                                       VERSION_819XU_B) { /* 8256 D-cut, E-cut, xiong: consider it later! */
+                                   priv->card_8192_version == VERSION_819XU_B) {
+                                       /* 8256 D-cut, E-cut, xiong: consider it later! */
                                        rtl8192_phy_SetRFReg(dev,
                                                (enum rf90_radio_path_e)eRFPath,
                                                0x0b, bMask12Bits, 0x100); /* phy para:1ba */