summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-02 00:48:27 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-04 04:34:48 +0200
commit1372a298ea4f2772655b2e69caa634f132f1d019 (patch)
tree369c988d9049f74cf6711e66a88729f290b2425d /net/wireless
parentbatman: Remove reference to compare_ether_addr (diff)
downloadlinux-1372a298ea4f2772655b2e69caa634f132f1d019.tar.xz
linux-1372a298ea4f2772655b2e69caa634f132f1d019.zip
wireless: scan: Remove comment to compare_ether_addr
This function is being removed, so remove the reference to it. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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,
}
}
- /*
- * we can't use compare_ether_addr here since we need a < > operator.
- * The binary return value of compare_ether_addr isn't enough
- */
r = memcmp(a->bssid, b->bssid, sizeof(a->bssid));
if (r)
return r;