mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-31 14:32:28 -05:00
staging: rtl8723au: Remove duplicated argument to ||
This patch removes duplicated argument to ||, fixing the following warning detected using coccinelle tool: duplicated argument to && or ||. Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
038b70395a
commit
85b4260ddf
@@ -1322,7 +1322,6 @@ unsigned char check_assoc_AP23a(u8 *pframe, uint len)
|
||||
DBG_8723A("link to Artheros AP\n");
|
||||
return HT_IOT_PEER_ATHEROS;
|
||||
} else if (!memcmp(p + 2, BROADCOM_OUI1, 3) ||
|
||||
!memcmp(p + 2, BROADCOM_OUI2, 3) ||
|
||||
!memcmp(p + 2, BROADCOM_OUI2, 3)) {
|
||||
DBG_8723A("link to Broadcom AP\n");
|
||||
return HT_IOT_PEER_BROADCOM;
|
||||
|
||||
Reference in New Issue
Block a user