diff options
author | Filipe Rosset <rosset.filipe@gmail.com> | 2009-05-28 10:11:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:21:16 -0400 |
commit | f41b6961566b2cd038ad91568882f8fc1feac160 (patch) | |
tree | 95b24428469c06c0c6f04e8fa0794acb6f48626f /drivers/media/video/bt8xx | |
parent | ab482a6c18523b7aa75eb146dad4db77a86572fa (diff) |
V4L/DVB (11895): bt8xx: remove always false if
Remove always false if over unsigned int variable
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt8xx')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 539ae45bebd9..7c1f82661ee8 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -4628,7 +4628,7 @@ static int __init bttv_init_module(void) | |||
4628 | #endif | 4628 | #endif |
4629 | if (gbuffers < 2 || gbuffers > VIDEO_MAX_FRAME) | 4629 | if (gbuffers < 2 || gbuffers > VIDEO_MAX_FRAME) |
4630 | gbuffers = 2; | 4630 | gbuffers = 2; |
4631 | if (gbufsize < 0 || gbufsize > BTTV_MAX_FBUF) | 4631 | if (gbufsize > BTTV_MAX_FBUF) |
4632 | gbufsize = BTTV_MAX_FBUF; | 4632 | gbufsize = BTTV_MAX_FBUF; |
4633 | gbufsize = (gbufsize + PAGE_SIZE - 1) & PAGE_MASK; | 4633 | gbufsize = (gbufsize + PAGE_SIZE - 1) & PAGE_MASK; |
4634 | if (bttv_verbose) | 4634 | if (bttv_verbose) |