summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@redhat.com>2009-05-28 11:11:53 -0300
committerDouglas Schilling Landgraf <dougsland@redhat.com>2009-05-28 11:11:53 -0300
commit43d08cbe79b56211fb686f8301d2cfcdaaa1548d (patch)
tree4c997c53797c3e0706baca3021de6e874210061b /linux
parent2ba29f04ef6c89b77c469257ed249a94c52b8871 (diff)
downloadmediapointer-dvb-s2-43d08cbe79b56211fb686f8301d2cfcdaaa1548d.tar.gz
mediapointer-dvb-s2-43d08cbe79b56211fb686f8301d2cfcdaaa1548d.tar.bz2
bt8xx: remove always false if
From: Filipe Rosset <rosset.filipe@gmail.com> Remove always false if over unsigned int variable Priority: normal Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index 8d2075186..67d06eb6c 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -4665,7 +4665,7 @@ static int __init bttv_init_module(void)
#endif
if (gbuffers < 2 || gbuffers > VIDEO_MAX_FRAME)
gbuffers = 2;
- if (gbufsize < 0 || gbufsize > BTTV_MAX_FBUF)
+ if (gbufsize > BTTV_MAX_FBUF)
gbufsize = BTTV_MAX_FBUF;
gbufsize = (gbufsize + PAGE_SIZE - 1) & PAGE_MASK;
if (bttv_verbose)