]> git.itanic.dy.fi Git - linux-stable/commit
kconfig: remove unreachable printf()
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 3 Dec 2023 10:25:27 +0000 (19:25 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 28 Dec 2023 07:22:47 +0000 (16:22 +0900)
commit9ad86d747c46f2bdc097c908481647fcdda1d035
tree89b9a309643d465b0b170479750ed822788339de
parent405d2cb209b5836910b5dac01cf97fcbd186c0af
kconfig: remove unreachable printf()

Remove the unreachable code detected by clang.

  $ make HOSTCC=clang HOSTCFLAGS=-Wunreachable-code defconfig
    [ snip ]
  scripts/kconfig/expr.c:1134:2: warning: code will never be executed [-Wunreachable-code]
          printf("[%dgt%d?]", t1, t2);
          ^~~~~~
  1 warning generated.

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