From: Mahati Chamarthy Date: Thu, 18 Sep 2014 23:52:33 +0000 (+0530) Subject: Staging: rtl8192e: Fix unnecessary parentheses style warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52e93b8ab435978bc12280aa4418ef25fd6e74f2;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Staging: rtl8192e: Fix unnecessary parentheses style warning This fixes the following checkpatch.pl warning: WARNING: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Mahati Chamarthy Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index b1fb57058750..7d67f8438c4a 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -376,7 +376,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) pAdmittedBA = &pTS->TxAdmittedBARecord; - if ((pAdmittedBA->bValid == true)) { + if (pAdmittedBA->bValid == true) { RTLLIB_DEBUG(RTLLIB_DL_BA, "OnADDBARsp(): Recv ADDBA Rsp." " Drop because already admit it!\n"); return -1;