Commit ea2e3182 authored by Chase Southwood's avatar Chase Southwood Committed by Greg Kroah-Hartman

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: default avatarChase Southwood <chase.southwood@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent adb7a477
...@@ -1399,7 +1399,6 @@ static void s626_check_dio_interrupts(struct comedi_device *dev) ...@@ -1399,7 +1399,6 @@ static void s626_check_dio_interrupts(struct comedi_device *dev)
uint8_t group; uint8_t group;
for (group = 0; group < S626_DIO_BANKS; group++) { for (group = 0; group < S626_DIO_BANKS; group++) {
irqbit = 0;
/* read interrupt type */ /* read interrupt type */
irqbit = s626_debi_read(dev, S626_LP_RDCAPFLG(group)); irqbit = s626_debi_read(dev, S626_LP_RDCAPFLG(group));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment