diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-20 02:56:40 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-28 02:11:56 +0300 |
commit | b7bca42d101d8d9678068cde645bd6d0afa8a20f (patch) | |
tree | e21b892ea815b6a3f930f295edcbddcac58ec601 /scripts/lib/kdoc/kdoc_files.py | |
parent | 0c3e091319e4748cb36ac9a50848903dc6f54054 (diff) | |
download | linux-b7bca42d101d8d9678068cde645bd6d0afa8a20f.tar.xz |
modpost: remove unnecessary check in do_acpi_entry()
The 'id' pointer is never NULL since it has the same address as
'symval'.
Also, checking (*id)[0] is simpler than calling strlen().
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions