]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: saa7134: remove if based on uninitialized variable
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 18 Jun 2014 21:28:10 +0000 (18:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 15:30:41 +0000 (12:30 -0300)
commit4862cacbc47bc63d0c84c2e827d5a2081b57e696
tree5473fbdc50531ca20138c010d4a430b95e5eaa5c
parent04686648516e39a25957ad31f3c14382c1da209e
[media] media: saa7134: remove if based on uninitialized variable

Variable b is not initialized.
Only with a small chance it has random value 0xFF.
Remove if statement based on this value.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/saa7134/saa7134-input.c