]> www.infradead.org Git - linux.git/commitdiff
Staging: rtl8192e: Fix parenthesis alignment
authorGabriel Maciel Raad <ffunctor@gmail.com>
Fri, 23 Aug 2024 00:08:37 +0000 (21:08 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2024 01:17:33 +0000 (09:17 +0800)
Fix parenthesis alingment in rtl92e_leisure_ps_enter to silence the
following checkpatch.pl warning:

CHECK: Alignment should match open parenthesis

Signed-off-by: Gabriel Maciel Raad <ffunctor@gmail.com>
Link: https://lore.kernel.org/r/20240823000838.8207-2-ffunctor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c

index 5aac9110bff686a611b1e3e7efdf9a29a5a7f780..1f881c27d4b4dc72ab2f8729e98a82ecb6d9a6e6 100644 (file)
@@ -204,7 +204,7 @@ void rtl92e_leisure_ps_enter(struct net_device *dev)
                                        &priv->rtllib->pwr_save_ctrl;
 
        if (!((priv->rtllib->iw_mode == IW_MODE_INFRA) &&
-           (priv->rtllib->link_state == MAC80211_LINKED)))
+             (priv->rtllib->link_state == MAC80211_LINKED)))
                return;
 
        if (psc->bLeisurePs) {