mfd: viperboard: Remove redundant NULL check before kfree()

kfree() safely handles NULL pointers, so the explicit NULL check
before calling kfree() is unnecessary.

This issue was reported by ifnullfree.cocci.

Signed-off-by: Mohammad Shahid <mdshahid03@gmail.com>
Link: https://patch.msgid.link/20260703105937.62541-1-mdshahid03@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
Mohammad Shahid 2026-07-03 16:29:37 +05:30 • committed by Lee Jones
commit 733fbd0d11