lists: remove a redundant conditional definition of list_add()
commite0ce0da9fefcc723dc006c35a7f91a32750abd40
authorRobert P. J. Day <rpjday@crashcourse.ca>
Fri, 25 Jul 2008 08:45:32 +0000 (25 01:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:27 +0000 (25 10:53 -0700)
tree49ca0889a60cb545eb5c21c3365d1c54e1e226f8
parentfd193829744bc77392395cf8f47889235c97f0a3
lists: remove a redundant conditional definition of list_add()

Remove the conditional surrounding the definition of list_add() from list.h
since, if you define CONFIG_DEBUG_LIST, the definition you will subsequently
pick up from lib/list_debug.c will be absolutely identical, at which point you
can remove that redundant definition from list_debug.c as well.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/list.h
lib/list_debug.c