staging: rtl8192e: rtl_wx: Fix BRACES warning
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 19:04:25 +0000 (21:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:26:06 +0000 (04:26 +0200)
Fix checkpatch BRACES warning.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c

index 240d765e5cc7221d5c249a0bfb6177fae240fb07..18dc3da2420a9e60f30a29174685f1503facb064 100644 (file)
@@ -819,13 +819,10 @@ static int _rtl92e_wx_set_retry(struct net_device *dev,
                err = -EINVAL;
                goto exit;
        }
-       if (wrqu->retry.flags & IW_RETRY_MAX) {
+       if (wrqu->retry.flags & IW_RETRY_MAX)
                priv->retry_rts = wrqu->retry.value;
-
-       } else {
+       else
                priv->retry_data = wrqu->retry.value;
-       }
-
 
        rtl92e_commit(dev);
 exit: