Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

+1 -3
+1 -3
drivers/media/dvb-frontends/dib0090.c
··· 1696 1696 1697 1697 if (state->identity.p1g) 1698 1698 state->dc = dc_p1g_table; 1699 - *tune_state = CT_TUNER_STEP_0; 1700 1699 1701 1700 /* fall through */ 1702 - 1703 1701 case CT_TUNER_STEP_0: 1704 - dprintk("Sart/continue DC calibration for %s path", (state->dc->i == 1) ? "I" : "Q"); 1702 + dprintk("Start/continue DC calibration for %s path", (state->dc->i == 1) ? "I" : "Q"); 1705 1703 dib0090_write_reg(state, 0x01, state->dc->bb1); 1706 1704 dib0090_write_reg(state, 0x07, state->bb7 | (state->dc->i << 7)); 1707 1705