diff options
author | 2015-09-16 18:35:59 +0900 | |
---|---|---|
committer | 2015-09-16 21:38:17 -0700 | |
commit | 7ae433631eacd0f0aaa749baef4c7f6baa5b3936 (patch) | |
tree | eed75befcb79ac8a35244a2a2350b84446e125f8 /drivers/staging/wilc1000/wilc_errorsupport.h | |
parent | staging: wilc1000: remove unused variable g_flushing_in_progress (diff) | |
download | linux-dev-7ae433631eacd0f0aaa749baef4c7f6baa5b3936.tar.xz linux-dev-7ae433631eacd0f0aaa749baef4c7f6baa5b3936.zip |
staging: wilc1000: remove a macro WILC_NULLCHECK
This patch replaces WILC_NULLCHECK with the plain statements and then removes
the macro WILC_NULLCHECK in wilc_errorsupport.h which is not used anymore.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_errorsupport.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_errorsupport.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/wilc_errorsupport.h b/drivers/staging/wilc1000/wilc_errorsupport.h index 8eb8150d5213..42495d9e19d2 100644 --- a/drivers/staging/wilc1000/wilc_errorsupport.h +++ b/drivers/staging/wilc1000/wilc_errorsupport.h @@ -51,12 +51,6 @@ goto ERRORHANDLER; \ } while (0) -#define WILC_NULLCHECK(__status__, __ptr__) do { \ - if (__ptr__ == NULL) { \ - WILC_ERRORREPORT(__status__, WILC_NULL_PTR); \ - } \ -} while (0) - #define WILC_CATCH(__status__) \ ERRORHANDLER: \ if (__status__ < WILC_SUCCESS) \ |