]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
misc: ti_fpc202: remove dead code in fpc202_detach_addr()
authorFelix Gu <ustc.gu@gmail.com>
Fri, 20 Feb 2026 17:20:32 +0000 (01:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 14:29:20 +0000 (16:29 +0200)
commitf485ae8e9a251b7698f04270b9226fa05135fc43
treea16a47f5f98c7ee2d26c0b89559b1a79cd72c087
parent84664e43ef87413f81b779b6433f43e14bc558cb
misc: ti_fpc202: remove dead code in fpc202_detach_addr()

val is assigned from addr_caches, which is a u8 array. So the check will
never be true.

Found by code review, compile pass.

Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Link: https://patch.msgid.link/20260221-fp202-v1-2-4d28cb8b28fb@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti_fpc202.c