OSDN Git Service

[media] dib0090: Remove a dead code
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 11:27:18 +0000 (08:27 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 14:26:31 +0000 (11:26 -0300)
commit91aff0c5d90fe57b81e2295437affc34d205a2d2
tree76cc0f192e802b9dfcc89deff2ae6cc7879f5bf1
parent5ac417efe66ddd7cd70a98f7f4e32a14ae40a651
[media] dib0090: Remove a dead code

As reported by smatch:
drivers/media/dvb-frontends/dib0090.c:1710 dib0090_dc_offset_calibration() warn: missing break? reassigning '*tune_state'

There's no need to change tune_state there, as the fall though code
will change it again to another state. So, simplify it by
removing the dead code.

While here, fix a typo:
Sart => Start

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/dib0090.c