]> 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)
commit21d8a9f61145b44609c688c65ea819afdea2e2c0
tree5473fbdc50531ca20138c010d4a430b95e5eaa5c
parent44396f566efddae435ed0d9993e7916253eb532d
[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