summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/include/common/athdefs.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-01-27 20:04:21 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-31 13:53:11 -0800
commit391bb2116a4ffeeee75dfbbe2e9de678d2fac88d (patch)
tree0978e763a6785ebc362e50c94621e0295fafff50 /drivers/staging/ath6kl/include/common/athdefs.h
parent509c9d973055e3d98c0d2aa2cb40c9139526fd74 (diff)
downloadop-kernel-dev-391bb2116a4ffeeee75dfbbe2e9de678d2fac88d.zip
op-kernel-dev-391bb2116a4ffeeee75dfbbe2e9de678d2fac88d.tar.gz
staging: ath6kl: Remove A_FAILED macro
Remove obfuscating A_FAILED(foo) macro. Just test for foo instead. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Vipin Mehta <vipin.mehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/include/common/athdefs.h')
-rw-r--r--drivers/staging/ath6kl/include/common/athdefs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/ath6kl/include/common/athdefs.h b/drivers/staging/ath6kl/include/common/athdefs.h
index ef60754..c6ae9ba 100644
--- a/drivers/staging/ath6kl/include/common/athdefs.h
+++ b/drivers/staging/ath6kl/include/common/athdefs.h
@@ -73,8 +73,6 @@
#define A_PHY_ERROR 27 /* RX PHY error */
#define A_CONSUMED 28 /* Object was consumed */
-#define A_FAILED(x) (!!x)
-
#ifndef TRUE
#define TRUE 1
#endif
OpenPOWER on IntegriCloud