Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 459b37d4 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds
Browse files

kernel/range: remove unused definition of ARRAY_SIZE()



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

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2ee7c922
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -7,10 +7,6 @@

#include <linux/range.h>

#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#endif

int add_range(struct range *range, int az, int nr_range, u64 start, u64 end)
{
	if (start >= end)