]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/media/video/cx18/cx18-ioctl.c
V4L/DVB (12199): remove redundant tests on unsigned
[linux-beck.git] / drivers / media / video / cx18 / cx18-ioctl.c
index d7b1921e6666006f327c54b3e18ce8b3ac649886..fc76e4d6ffa72d3d6c48e9bc169d2465a5f03a25 100644 (file)
@@ -605,7 +605,7 @@ int cx18_s_input(struct file *file, void *fh, unsigned int inp)
        if (ret)
                return ret;
 
-       if (inp < 0 || inp >= cx->nof_inputs)
+       if (inp >= cx->nof_inputs)
                return -EINVAL;
 
        if (inp == cx->active_input) {