upstream: [media] m88ds3103: possible uninitialized scalar variable
authorAntti Palosaari <crope@iki.fi>
Sat, 1 Feb 2014 15:58:28 +0000 (12:58 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:00 +0000 (11:55 +0900)
commit4ae749ada73f0f0725cd91c40b68f989b5bcf324
treef977be57051ad0796e0f801a1db35a756da49d76
parent2b78d62193e8f52d507ad689cc0d9c574a45b1bc
upstream: [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