staging: rtl8712: Remove unnecesary else after return statement.
This patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return 490: FILE: drivers/staging/rtl8712/rtl8712_recv.c:490: return false; else Signed-off-by: Sebastian Arriola <sebdeveloper6952@gmail.com> Link: https://lore.kernel.org/r/20200615155131.GA4563@sevic69 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3ee97e2206
commit
98fe05e21a
@ -482,8 +482,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user