summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Kim <leo.kim@atmel.com>2015-09-16 18:36:02 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-16 21:40:13 -0700
commit559e1a04e2888331dae5f648cc097dd9f30172c7 (patch)
treecd1eb714a8bd9f7477c4b1c1950ca1fe1e2f4ab9
parent24db713fe5325917690c2c793a6321aa0b11a0c8 (diff)
downloadlinux-559e1a04e2888331dae5f648cc097dd9f30172c7.tar.bz2
staging: wilc1000: remove definitions unused
Remove the definitions which are not used anywhere. - WILC_ALREADY_EXSIT - WILC_EMPTY - WILC_FULL - WILC_CANCELED - WILC_INVALID_FILE - WILC_UNSUPPORTED_VERSION - WILC_FILE_EOF Remove the definition which is not used anymore. - WILC_CATCH 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>
-rw-r--r--drivers/staging/wilc1000/wilc_errorsupport.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/wilc1000/wilc_errorsupport.h b/drivers/staging/wilc1000/wilc_errorsupport.h
index 99ded3dcb74c..054ed7604388 100644
--- a/drivers/staging/wilc1000/wilc_errorsupport.h
+++ b/drivers/staging/wilc1000/wilc_errorsupport.h
@@ -12,9 +12,6 @@
#include "linux_wlan_common.h"
-/* Psitive Numbers to indicate sucess with special status */
-#define WILC_ALREADY_EXSIT (+100) /** The requested object already exists */
-
/* Generic success will return 0 */
#define WILC_SUCCESS 0 /** Generic success */
@@ -25,22 +22,8 @@
#define WILC_INVALID_STATE -103 /** An API request would violate the Driver state machine (i.e. to start PID while not camped)*/
#define WILC_BUFFER_OVERFLOW -104 /** In copy operations if the copied data is larger than the allocated buffer*/
#define WILC_NULL_PTR -105 /** null pointer is passed or used */
-#define WILC_EMPTY -107
-#define WILC_FULL -108
#define WILC_TIMEOUT -109
-#define WILC_CANCELED -110 /** The required operation have been canceled by the user*/
-#define WILC_INVALID_FILE -112 /** The Loaded file is corruped or having an invalid format */
#define WILC_NOT_FOUND -113 /** Cant find the file to load */
#define WILC_NO_MEM -114
-#define WILC_UNSUPPORTED_VERSION -115
-#define WILC_FILE_EOF -116
-
-
-
-
-
-#define WILC_CATCH(__status__) \
-ERRORHANDLER: \
- if (__status__ < WILC_SUCCESS) \
#endif