Skip to content
Snippets Groups Projects
Commit b7bca42d authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 0c3e0913
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment