Skip to contentSkip to conversation

staging: rtl8192e: fix unbalanced braces around else

PATCH New Khadija Kamran 1 participant 1 message Mar 27, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8192e: fix unbalanced braces around else

Balance if/else braces as recommended by checkpatch.pl

---
 drivers/staging/rtl8192e/rtl819x_TSProc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8192e/rtl819x_TSProc.c +2 -1
index 68c131afc2ba..c61fdf73c572 100644
@@ -517,6 +517,7 @@ void TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS)
 			netdev_dbg(ieee->dev, "Immediately Start ADDBA\n");
 			mod_timer(&pTxTS->TsAddBaTimer, jiffies + 10);
 		}
-	} else
+	} else {
 		netdev_dbg(ieee->dev, "BA timer is already added\n");
+	}
 }
Signature · 1 line
2.34.1