staging: slicoss: Remove STATUS_XXX defines.
Remove defines of STATUS_XXX from header file. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Cc: Denis Kirjanov <kirjanov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
d19397860a
commit
9020dea380
|
@ -168,17 +168,6 @@ struct slic_cmdqueue {
|
||||||
struct slic_spinlock lock;
|
struct slic_spinlock lock;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef STATUS_SUCCESS
|
|
||||||
#undef STATUS_SUCCESS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define STATUS_SUCCESS 0
|
|
||||||
#define STATUS_PENDING 0
|
|
||||||
#define STATUS_FAILURE -1
|
|
||||||
#define STATUS_ERROR -2
|
|
||||||
#define STATUS_NOT_SUPPORTED -3
|
|
||||||
#define STATUS_BUFFER_TOO_SHORT -4
|
|
||||||
|
|
||||||
#define SLIC_MAX_CARDS 32
|
#define SLIC_MAX_CARDS 32
|
||||||
#define SLIC_MAX_PORTS 4 /* Max # of ports per card */
|
#define SLIC_MAX_PORTS 4 /* Max # of ports per card */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue