projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] drivers/scsi: Use ARRAY_SIZE macro
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
scsi
/
aic7xxx
/
aic7xxx.h
diff --git
a/drivers/scsi/aic7xxx/aic7xxx.h
b/drivers/scsi/aic7xxx/aic7xxx.h
index 91d294c6334efd26853ee4e0074dbd7788cfde94..e24e6067401bb1b674078fb24e314f9887bfb237 100644
(file)
--- a/
drivers/scsi/aic7xxx/aic7xxx.h
+++ b/
drivers/scsi/aic7xxx/aic7xxx.h
@@
-69,8
+69,6
@@
struct seeprom_descriptor;
#define FALSE 0
#endif
-#define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array))
-
#define ALL_CHANNELS '\0'
#define ALL_TARGETS_MASK 0xFFFF
#define INITIATOR_WILDCARD (~0)