]> git.baikalelectronics.ru Git - kernel.git/commit
fixdep: remove redundant null character check
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 18 Feb 2020 10:00:31 +0000 (19:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 2 Mar 2020 12:18:19 +0000 (21:18 +0900)
commit3f9070a67a94a2765e99adf0913c30b683a1b840
tree26899cafd8a05641a40b0d36c56a2b318f3c2c44
parent87d660f08520ccde8569a2202ff346b376011663
fixdep: remove redundant null character check

If *q is '\0', the condition (isalnum(*q) || *q == '_') is false anyway.

It is redundant to ensure non-zero *q.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/basic/fixdep.c