[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1418657154-10481-1-git-send-email-karthik.188@gmail.com>
Date: Mon, 15 Dec 2014 20:55:54 +0530
From: Karthik Nayak <karthik.188@...il.com>
To: trivial@...nel.org
Cc: linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
Larry.Finger@...inger.net, Karthik Nayak <karthik.188@...il.com>
Subject: [PATCH] Staging: rtl8712: removed an unnecessary else statement
As per checkpatch warning, removed an unnecessary else statement
proceeding an if statement with a return.
Signed-off-by: Karthik Nayak <karthik.188@...il.com>
---
drivers/staging/rtl8712/rtl8712_recv.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8712/rtl8712_recv.c b/drivers/staging/rtl8712/rtl8712_recv.c
index cd8b444..800b2b3 100644
--- a/drivers/staging/rtl8712/rtl8712_recv.c
+++ b/drivers/staging/rtl8712/rtl8712_recv.c
@@ -496,8 +496,7 @@ static int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl,
plist = plist->next;
else if (SN_EQUAL(pnextattrib->seq_num, pattrib->seq_num))
return false;
- else
- break;
+ break;
}
list_del_init(&(prframe->u.hdr.list));
list_add_tail(&(prframe->u.hdr.list), plist);
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists