]> git.itanic.dy.fi Git - linux-stable/commit
kconfig: remove redundant NULL pointer check before free()
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 3 Dec 2023 10:25:28 +0000 (19:25 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 28 Dec 2023 07:22:47 +0000 (16:22 +0900)
commit407868deb2a344e9baa7909e1b13aec35c7217b2
treee4a2514f115a507c267a17d8360a844e38e97369
parent9ad86d747c46f2bdc097c908481647fcdda1d035
kconfig: remove redundant NULL pointer check before free()

Passing NULL to free() is allowed and is a no-op.

Remove redundant NULL pointer checks.

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