Staging: comedi: addi-data: Cleanup redundant tests on unsigned
[pandora-kernel.git] / drivers / staging / comedi / drivers / addi-data / hwdrv_apci1500.c
index 236b8a3..36b929f 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);