lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210302152903.2930-1-perrinjemessmith@gmail.com>
Date:   Tue,  2 Mar 2021 23:29:03 +0800
From:   Perrin Smith <perrinjamessmith@...il.com>
To:     gregkh@...uxfoundation.org
Cc:     will+git@...d.me, dan.carpenter@...cle.com, tiwai@...e.de,
        yashsri421@...il.com, devel@...verdev.osuosl.org,
        linux-kernel@...r.kernel.org, perrinjamessmith@...il.com
Subject: [PATCH] staging: rtl8192e: remove unnecessary break

From: Perrin Smith <perrinjamessmith@...il.com>

removed unnecessary break at end of while loop

Signed-off-by: Perrin Smith <perrinjamessmith@...il.com>
---
 drivers/staging/rtl8192e/rtllib_rx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c
index b8ab34250e6a..2de6330b7737 100644
--- a/drivers/staging/rtl8192e/rtllib_rx.c
+++ b/drivers/staging/rtl8192e/rtllib_rx.c
@@ -460,8 +460,6 @@ static bool AddReorderEntry(struct rx_ts_record *pTS,
 			((struct rx_reorder_entry *)list_entry(pList->next,
 			struct rx_reorder_entry, List))->SeqNum))
 			return false;
-		else
-			break;
 	}
 	pReorderEntry->List.next = pList->next;
 	pReorderEntry->List.next->prev = &pReorderEntry->List;
-- 
2.26.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ