mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
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>
This commit is contained in:
parent
ab482a6c18
commit
f41b696156
@ -4628,7 +4628,7 @@ static int __init bttv_init_module(void)
|
|||||||
#endif
|
#endif
|
||||||
if (gbuffers < 2 || gbuffers > VIDEO_MAX_FRAME)
|
if (gbuffers < 2 || gbuffers > VIDEO_MAX_FRAME)
|
||||||
gbuffers = 2;
|
gbuffers = 2;
|
||||||
if (gbufsize < 0 || gbufsize > BTTV_MAX_FBUF)
|
if (gbufsize > BTTV_MAX_FBUF)
|
||||||
gbufsize = BTTV_MAX_FBUF;
|
gbufsize = BTTV_MAX_FBUF;
|
||||||
gbufsize = (gbufsize + PAGE_SIZE - 1) & PAGE_MASK;
|
gbufsize = (gbufsize + PAGE_SIZE - 1) & PAGE_MASK;
|
||||||
if (bttv_verbose)
|
if (bttv_verbose)
|
||||||
|
Loading…
Reference in New Issue
Block a user