projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
978fdc2
)
staging: wilc1000: remove definition WILC_IS_ERR
author
Leo Kim
<
[email protected]
>
Tue, 15 Sep 2015 02:53:35 +0000
(11:53 +0900)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 15 Sep 2015 13:42:12 +0000
(06:42 -0700)
This patch removes the definition WILC_IS_ERR which is not used anymore.
Signed-off-by: Leo Kim <
[email protected]
>
Signed-off-by: Tony Cho <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/wilc1000/wilc_errorsupport.h
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/wilc_errorsupport.h
b/drivers/staging/wilc1000/wilc_errorsupport.h
index 6012ec4dfce0d8a79186a365da97a265909ae572..8eb8150d5213786e23c7eea54645e42204416ee8 100644
(file)
--- a/
drivers/staging/wilc1000/wilc_errorsupport.h
+++ b/
drivers/staging/wilc1000/wilc_errorsupport.h
@@
-37,10
+37,9
@@
-#define WILC_IS_ERR(__status__) (__status__ < WILC_SUCCESS)
#define WILC_ERRORCHECK(__status__) do { \
- if (
WILC_IS_ERR(__status__)
) { \
+ if (
__status__ < WILC_SUCCESS
) { \
PRINT_ER("PRINT_ER(%d)\n", __status__); \
goto ERRORHANDLER; \
} \
@@
-60,6
+59,6
@@
#define WILC_CATCH(__status__) \
ERRORHANDLER: \
- if (
WILC_IS_ERR(__status__)
) \
+ if (
__status__ < WILC_SUCCESS
) \
#endif