Commit a2e681fa authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: rtl_wx: Fix BRACES warning

Fix checkpatch BRACES warning.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ba72f25b
...@@ -819,13 +819,10 @@ static int _rtl92e_wx_set_retry(struct net_device *dev, ...@@ -819,13 +819,10 @@ static int _rtl92e_wx_set_retry(struct net_device *dev,
err = -EINVAL; err = -EINVAL;
goto exit; goto exit;
} }
if (wrqu->retry.flags & IW_RETRY_MAX) { if (wrqu->retry.flags & IW_RETRY_MAX)
priv->retry_rts = wrqu->retry.value; priv->retry_rts = wrqu->retry.value;
else
} else {
priv->retry_data = wrqu->retry.value; priv->retry_data = wrqu->retry.value;
}
rtl92e_commit(dev); rtl92e_commit(dev);
exit: exit:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment