]> git.baikalelectronics.ru Git - kernel.git/commit
genirq/matrix: Remove redundant assignment to variable 'end'
authorColin Ian King <colin.i.king@gmail.com>
Fri, 22 Apr 2022 11:04:18 +0000 (12:04 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Apr 2022 13:02:57 +0000 (15:02 +0200)
commitdba44e543aa99e5f336c030e813e7a99b2858ed6
tree6dfe644664d5d36d8dd1047c96a572a1625a4034
parent1a4bdbdf5b915741fc80fb941f8b885db57f3a7d
genirq/matrix: Remove redundant assignment to variable 'end'

Variable end is being initialized with a value that is never read, it
is being re-assigned later with the same value. The initialization is
redundant and can be removed.

Cleans up clang scan build warning:
kernel/irq/matrix.c:289:25: warning: Value stored to 'end' during its
initialization is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220422110418.1264778-1-colin.i.king@gmail.com
kernel/irq/matrix.c