diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-05-02 15:38:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:58 -0400 |
commit | 223ffe5f8270ba9d069f1cbff9acec095a6f58b1 (patch) | |
tree | c9b7f1288f2b16c9b4466f5a643ec34ac71fbb15 /drivers/media/video/ivtv/ivtv-ioctl.c | |
parent | ca19d84295c2579229c5478db8b0f9cd7e821685 (diff) |
V4L/DVB: cleanup redundant tests on unsigned
Remove redundant tests on unsigned.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index c342a9fe983e..99f3c39a118b 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c | |||
@@ -709,7 +709,7 @@ static int ivtv_itvc(struct ivtv *itv, unsigned int cmd, void *arg) | |||
709 | else if (itv->has_cx23415 && regs->reg >= IVTV_DECODER_OFFSET && | 709 | else if (itv->has_cx23415 && regs->reg >= IVTV_DECODER_OFFSET && |
710 | regs->reg < IVTV_DECODER_OFFSET + IVTV_DECODER_SIZE) | 710 | regs->reg < IVTV_DECODER_OFFSET + IVTV_DECODER_SIZE) |
711 | reg_start = itv->dec_mem - IVTV_DECODER_OFFSET; | 711 | reg_start = itv->dec_mem - IVTV_DECODER_OFFSET; |
712 | else if (regs->reg >= 0 && regs->reg < IVTV_ENCODER_SIZE) | 712 | else if (regs->reg < IVTV_ENCODER_SIZE) |
713 | reg_start = itv->enc_mem; | 713 | reg_start = itv->enc_mem; |
714 | else | 714 | else |
715 | return -EINVAL; | 715 | return -EINVAL; |