From: Tree Davies Date: Fri, 26 Jan 2024 22:31:00 +0000 (-0800) Subject: Staging: rtl8192e: Fixup if statement broken across multiple lines. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9842cb03969ec55eee44ffed2ad938e80b5d3844;p=linux.git Staging: rtl8192e: Fixup if statement broken across multiple lines. Join broken lines across if statement to fix checkpatch warning: Lines should not end with a '(' Signed-off-by: Tree Davies Link: https://lore.kernel.org/r/20240126223106.986093-13-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 538689fb55803..ab41632def7ab 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1736,10 +1736,8 @@ rtllib_rx_deauth(struct rtllib_device *ieee, struct sk_buff *skb) ieee->link_detect_info.busy_traffic = false; rtllib_disassociate(ieee); remove_peer_ts(ieee, header->addr2); - if (!(ieee->rtllib_ap_sec_type(ieee) & - (SEC_ALG_CCMP | SEC_ALG_TKIP))) - schedule_delayed_work( - &ieee->associate_procedure_wq, 5); + if (!(ieee->rtllib_ap_sec_type(ieee) & (SEC_ALG_CCMP | SEC_ALG_TKIP))) + schedule_delayed_work(&ieee->associate_procedure_wq, 5); } return 0; }