summaryrefslogtreecommitdiffstats
path: root/lib/test_bits.c
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2020-12-15 20:43:40 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-15 22:46:16 -0800
commitff72daa371f58fbf16999f4fb3d65d4f650555aa (patch)
tree9f04b68692cbc4033bba7a177f88e08b8daade80 /lib/test_bits.c
parent2f78788b55baa3410b1ec91a576286abe1ad4d6a (diff)
downloadlinux-ff72daa371f58fbf16999f4fb3d65d4f650555aa.tar.gz
linux-ff72daa371f58fbf16999f4fb3d65d4f650555aa.tar.bz2
linux-ff72daa371f58fbf16999f4fb3d65d4f650555aa.zip
lib/string: remove unnecessary #undefs
A few architecture specific string.h functions used to be implemented in terms of preprocessor defines to the corresponding compiler builtins. Since this is no longer the case, remove unused #undefs. Only memcmp is still defined in terms of builtins for a few arches. Link: https://github.com/ClangBuiltLinux/linux/issues/428 Link: https://lkml.kernel.org/r/20201120041113.89382-1-ndesaulniers@google.com Fixes: 5f074f3e192f ("lib/string.c: implement a basic bcmp") Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Yury Norov <yury.norov@gmail.com> Cc: Alexandru Ardelean <alexandru.ardelean@analog.com> Cc: Nathan Chancellor <natechancellor@gmail.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions