mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
staging: comedi: s626: remove unnecessary variable initialization
We initialize 'irqbit' to 0, only to properly set it immediately afterwards. Just remove the zero-initialization. Signed-off-by: Chase Southwood <chase.southwood@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Cc: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
adb7a4777b
commit
ea2e318268
@@ -1399,7 +1399,6 @@ static void s626_check_dio_interrupts(struct comedi_device *dev)
|
||||
uint8_t group;
|
||||
|
||||
for (group = 0; group < S626_DIO_BANKS; group++) {
|
||||
irqbit = 0;
|
||||
/* read interrupt type */
|
||||
irqbit = s626_debi_read(dev, S626_LP_RDCAPFLG(group));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user