[media] m88ds3103: possible uninitialized scalar variable
authorAntti Palosaari <crope@iki.fi>
Sat, 1 Feb 2014 15:58:28 +0000 (12:58 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 12 Mar 2014 11:04:52 +0000 (08:04 -0300)
commit2f9dff3f39f0d6dac9209e2267517aebc1c6f86c
tree14446f3db5c3ddf8b011aa4f998deb65adf262b0
parent8a648fbbc1a1a3b4b500c63b5a953397103dfe22
[media] m88ds3103: possible uninitialized scalar variable

It was possible that tuner_frequency variable, used for carrier offset
compensation, was uninitialized. That happens when tuner
.get_frequency() callback is not defined.

Currently that case is not possible as only used tuner has this callback.

Coverity CID 1166057: Uninitialized scalar variable (UNINIT)

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/m88ds3103.c