scripts/kallsyms: remove unneeded length check for prefix matching
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 23 Nov 2019 16:04:34 +0000 (01:04 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 25 Nov 2019 12:03:18 +0000 (21:03 +0900)
commitc5e5002f3603e01f50d8d61878a4ca8ffca7bd15
tree7b7095bb88643ebb3ad9a4357728f317ed3adb9b
parente0109042cc4ee12b3689e29c872c1436e0424c69
scripts/kallsyms: remove unneeded length check for prefix matching

l <= strlen(sym_name) is unnecessary for prefix matching.
strncmp() will do.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kallsyms.c