Commit 8fec2ee4 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: remove definition WILC_IS_ERR



This patch removes the definition WILC_IS_ERR which is not used anymore.

Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 978fdc22
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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