tools include: Drop ARRAY_SIZE() definition from linux/hashtable.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Apr 2017 15:01:36 +0000 (12:01 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2018 08:28:57 +0000 (10:28 +0200)
commitc5e64da62affbd9796ca801e92bfabe3a03fdccc
treebf8aba00367b7a2d04fbe12a00942cdd3bd53cda
parent110cf308d24a6b7ec27852a4d0933bfe00f551c9
tools include: Drop ARRAY_SIZE() definition from linux/hashtable.h

commit 68289cbd83eaa20faef7cc818121bc8e769065de upstream.

As tools/include/linux/kernel.h has it now, with the goodies present in
the kernel.h counterpart, i.e. checking that the parameter is an array
at build time.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-v0b41ivu6z6dyugbq9ffa9ez@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/include/linux/hashtable.h