Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68de8d67 authored by Mike Krinkin's avatar Mike Krinkin Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: remove unnecessary else after return



Fixes checkpatch warning:
WARNING: else is not generally useful after a break or return

Signed-off-by: default avatarMike Krinkin <krinkin.m.u@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c410db7
Loading
Loading
Loading
Loading
+4 −5
Original line number Original line Diff line number Diff line
@@ -522,12 +522,11 @@ int r8712_recv_indicatepkts_in_order(struct _adapter *padapter,
	if (bforced == true) {
	if (bforced == true) {
		if (list_empty(phead))
		if (list_empty(phead))
			return true;
			return true;
		else {

		prframe = LIST_CONTAINOR(plist, union recv_frame, u);
		prframe = LIST_CONTAINOR(plist, union recv_frame, u);
		pattrib = &prframe->u.hdr.attrib;
		pattrib = &prframe->u.hdr.attrib;
		preorder_ctrl->indicate_seq = pattrib->seq_num;
		preorder_ctrl->indicate_seq = pattrib->seq_num;
	}
	}
	}
	/* Prepare indication list and indication.
	/* Prepare indication list and indication.
	 * Check if there is any packet need indicate. */
	 * Check if there is any packet need indicate. */
	while (!list_empty(phead)) {
	while (!list_empty(phead)) {