]> asedeno.scripts.mit.edu Git - linux.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)
commit40feb52fb6e4fe6fcdbfb533c5c811d56f9bd98c
tree5473fbdc50531ca20138c010d4a430b95e5eaa5c
parentaecfa5af1e2e282404fc56285d494701ed040a5d
[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