kernel-fxtec-pro1x/drivers/net/wireless/rtlwifi/rtl8192ce
Joe Perches 2e42e4747e drivers/net: Convert compare_ether_addr to ether_addr_equal
Use the new bool function ether_addr_equal to add
some clarity and reduce the likelihood for misuse
of compare_ether_addr for sorting.

Done via cocci script:

$ cat compare_ether_addr.cocci
@@
expression a,b;
@@
-	!compare_ether_addr(a, b)
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	compare_ether_addr(a, b)
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) == 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) != 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) == 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) != 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!!ether_addr_equal(a, b)
+	ether_addr_equal(a, b)

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-10 23:33:01 -04:00
..
def.h
dm.c
dm.h rtlwifi: rtl8192c: Convert driver to use private dm structs 2012-04-23 15:35:32 -04:00
hw.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
hw.h
led.c
led.h
Makefile
phy.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
phy.h
reg.h rtlwifi: Remove unused ETH_ADDR_LEN defines 2012-03-19 16:53:09 -04:00
rf.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
rf.h
sw.c net/wireless: use module_pci_driver 2012-04-16 14:38:50 -04:00
sw.h
table.c
table.h
trx.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
trx.h wireless: Remove unnecessary ; from while (0) macros 2012-04-11 16:23:56 -04:00