diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-22 12:14:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-23 05:25:21 -0500 |
commit | d4c71d7a385575bebcf0e2a182508e75eeb77b83 (patch) | |
tree | b9ab71bce3efc8dd193d7d32928594d8ec9b6dd0 | |
parent | 54c8cdd4abb06ca5d0aa3470a13e4f9f21364477 (diff) |
[media] av7110: remove a bogus smatch warning
Remove this bogus smatch warning:
drivers/media/pci/ttpci/av7110.c:2211 frontend_init() warn: missing break? reassigning 'av7110->fe'
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/pci/ttpci/av7110.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/drivers/media/pci/ttpci/av7110.c b/drivers/media/pci/ttpci/av7110.c index 18d229fa65cf..382caf200ba1 100644 --- a/drivers/media/pci/ttpci/av7110.c +++ b/drivers/media/pci/ttpci/av7110.c | |||
@@ -2198,13 +2198,18 @@ static int frontend_init(struct av7110 *av7110) | |||
2198 | break; | 2198 | break; |
2199 | 2199 | ||
2200 | case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X | 2200 | case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X |
2201 | { | ||
2202 | struct dvb_frontend *fe; | ||
2203 | |||
2201 | // try ALPS TDLB7 first, then Grundig 29504-401 | 2204 | // try ALPS TDLB7 first, then Grundig 29504-401 |
2202 | av7110->fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap); | 2205 | fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap); |
2203 | if (av7110->fe) { | 2206 | if (fe) { |
2204 | av7110->fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params; | 2207 | fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params; |
2208 | av7110->fe = fe; | ||
2205 | break; | 2209 | break; |
2206 | } | 2210 | } |
2207 | /* fall-thru */ | 2211 | } |
2212 | /* fall-thru */ | ||
2208 | 2213 | ||
2209 | case 0x0008: // Hauppauge/TT DVB-T | 2214 | case 0x0008: // Hauppauge/TT DVB-T |
2210 | // Grundig 29504-401 | 2215 | // Grundig 29504-401 |