diff options
author | 2024-02-01 09:18:22 +0100 | |
---|---|---|
committer | 2024-02-17 17:28:56 +0100 | |
commit | 0ef4a26928d7d7efd052b044d0583ddbb9eab33f (patch) | |
tree | 82e115504aed35270d469b0a1d940cd809aad889 /drivers/staging/rtl8192e/rtl8192e/rtl_core.c | |
parent | Staging: rtl8192e: Rename variable bForcedBgMode (diff) | |
download | wireguard-linux-0ef4a26928d7d7efd052b044d0583ddbb9eab33f.tar.xz wireguard-linux-0ef4a26928d7d7efd052b044d0583ddbb9eab33f.zip |
staging: rtl8192e: remove braces from single statement blocks
Remove braces from single statement blocks to clear some checkpatch
warnings.
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240201081824.6998-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e/rtl_core.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index bf1c8bd8ecc8..705b94f0911e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -964,9 +964,8 @@ static void _rtl92e_watchdog_wq_cb(void *data) MAC80211_NOLINK) && (ieee->rf_power_state == rf_on) && !ieee->is_set_key && (!ieee->proto_stoppping) && !ieee->wx_set_enc) { - if (ieee->pwr_save_ctrl.ReturnPoint == IPS_CALLBACK_NONE) { + if (ieee->pwr_save_ctrl.ReturnPoint == IPS_CALLBACK_NONE) rtl92e_ips_enter(dev); - } } } if ((ieee->link_state == MAC80211_LINKED) && (ieee->iw_mode == IW_MODE_INFRA)) { |