aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/scan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index ad1e4068ce06..eeb71480f1af 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -465,10 +465,6 @@ static int cmp_bss(struct cfg80211_bss *a,
465 } 465 }
466 } 466 }
467 467
468 /*
469 * we can't use compare_ether_addr here since we need a < > operator.
470 * The binary return value of compare_ether_addr isn't enough
471 */
472 r = memcmp(a->bssid, b->bssid, sizeof(a->bssid)); 468 r = memcmp(a->bssid, b->bssid, sizeof(a->bssid));
473 if (r) 469 if (r)
474 return r; 470 return r;