Staging: comedi: addi-data: Cleanup redundant tests on unsigned
[linux-2.6-block.git] / drivers / staging / comedi / drivers / addi-data / hwdrv_apci1500.c
index 236b8a31c82421ef23437d87ed1dec901668171a..36b929ffecbd8ac33a0ed0e56b49c31bb0749c89 100644 (file)
@@ -968,7 +968,7 @@ int i_APCI1500_ReadMoreDigitalInput(struct comedi_device *dev, struct comedi_sub
 
        switch (data[0]) {
        case 0:
-               if (ui_Channel >= 0 && ui_Channel <= 15) {
+               if (ui_Channel <= 15) {
                        ui_TmpValue =
                                (unsigned int) inw(devpriv->i_IobaseAddon +
                                APCI1500_DIGITAL_IP);