On Thu, Aug 22, 2024 at 09:08:37PM -0300, Gabriel Maciel Raad wrote: > 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@xxxxxxxxx> > --- > Changes in v2: > - Split the changes in two patches > --- > drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c b/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c > index 5aac9110bff6..1f881c27d4b4 100644 > --- a/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c > +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c > @@ -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; It would be nicer to write this as: if (priv->rtllib->iw_mode != IW_MODE_INFRA || priv->rtllib->link_state != MAC80211_LINKED) return; regards, dan carpenter