diff options
author | Tobias Klauser <tklauser@nuerscht.ch> | 2005-11-09 21:03:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-09 21:03:42 +0100 |
commit | 84c1a13a30f21406f39e546684a78ebe9859e6d7 (patch) | |
tree | 296330a7d501eb349070363df28da70b10a62963 /arch/sparc64/mm/fault.c | |
parent | [SPARC]: Use ARRAY_SIZE macro (diff) | |
download | linux-84c1a13a30f21406f39e546684a78ebe9859e6d7.tar.xz linux-84c1a13a30f21406f39e546684a78ebe9859e6d7.zip |
[SPARC64]: Use ARRAY_SIZE macro
Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a
duplicate of ARRAY_SIZE which is never used anyways.
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | arch/sparc64/mm/fault.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc64/mm/fault.c b/arch/sparc64/mm/fault.c index 3be278d916db..6f0539aa44d0 100644 --- a/arch/sparc64/mm/fault.c +++ b/arch/sparc64/mm/fault.c @@ -30,8 +30,6 @@ #include <asm/sections.h> #include <asm/kdebug.h> -#define ELEMENTS(arr) (sizeof (arr)/sizeof (arr[0])) - /* * To debug kernel to catch accesses to certain virtual/physical addresses. * Mode = 0 selects physical watchpoints, mode = 1 selects virtual watchpoints. |