History

kernel/range: remove unused definition of ARRAY_SIZE()

Remove duplicate definition of ARRAY_SIZE(), which was never used anyway.

Geert Uytterhoeven committed 16 years ago

Commit 459b37d1 parent 2ee7c921 file · +0 −4Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/range.c+0−4
@@ -7,10 +7,6 @@ · 6 unmodified lines
77
88 #include <linux/range.h>
99
10−#ifndef ARRAY_SIZE
11−#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
12−#endif
13−
1410 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end)
1511 {
1612 if (start >= end)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t