Remove duplicate definition of ARRAY_SIZE(), which was never used anyway.
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -7,10 +7,6 @@ · 6 unmodified lines | |||
| 7 | 7 | ||
| 8 | #include <linux/range.h> | 8 | #include <linux/range.h> |
| 9 | 9 | ||
| 10 | #ifndef ARRAY_SIZE | ||
| 11 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) | ||
| 12 | #endif | ||
| 13 | |||
| 14 | int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) | 10 | int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) |
| 15 | { | 11 | { |
| 16 | if (start >= end) | 12 | if (start >= end) |