mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-24 00:48:53 +03:00
The assignment to bank via container_of() immediately before the list_for_each_entry() loop is dead code: the loop macro reinitialises bank on every iteration and the initial value is never read. Assisted-by: Claude Sonnet 4.6 Acked-by: Vincent Fazio <vfazio@xes-inc.com> Reviewed-by: Vincent Fazio <vfazio@xes-inc.com> Tested-by: Vincent Fazio <vfazio@xes-inc.com> Link: https://patch.msgid.link/20260604-pre-2-3-fixes-v2-5-781bcaf47475@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>