diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-07-27 01:52:04 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-08-03 19:37:59 +0900 |
commit | 7193cda917ffbf5a473cbf3d26ba6787b6b02a84 (patch) | |
tree | d098a73107cf93d015edd848596263f99b847f70 /fs/jfs | |
parent | 258fafcd0683d9ccfa524129d489948ab3ddc24c (diff) | |
download | linux-7193cda917ffbf5a473cbf3d26ba6787b6b02a84.tar.bz2 |
modpost: remove unused Elf_Sword macro
Commit 9ad21c3f3ecf ("kbuild: try harder to find symbol names in
modpost") added Elf_Sword (in a wrong way), but did not use it at all.
BTW, the current code looks weird.
The fix for the 32-bit part would be:
Elf64_Sword --> Elf32_Sword
(inconsistet prefix, Elf32_ vs Elf64_)
The fix for the 64-bit part would be:
Elf64_Sxword --> Elf64_Sword
(the size is different between Sword and Sxword)
Note:
Elf32_Sword == Elf64_Sword == int32_t
Elf32_Sxword == Elf64_Sxword == int64_t
Anyway, let's drop unused code instead of fixing it.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions