aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/dtt200u-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dtt200u-fe.c')
-rw-r--r--drivers/media/dvb/dvb-usb/dtt200u-fe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/dtt200u-fe.c b/drivers/media/dvb/dvb-usb/dtt200u-fe.c
index cd21ddbfd054..2df6da2b54f8 100644
--- a/drivers/media/dvb/dvb-usb/dtt200u-fe.c
+++ b/drivers/media/dvb/dvb-usb/dtt200u-fe.c
@@ -168,11 +168,9 @@ struct dvb_frontend* dtt200u_fe_attach(struct dvb_usb_device *d)
168 state->frontend.ops = &state->ops; 168 state->frontend.ops = &state->ops;
169 state->frontend.demodulator_priv = state; 169 state->frontend.demodulator_priv = state;
170 170
171 goto success; 171 return &state->frontend;
172error: 172error:
173 return NULL; 173 return NULL;
174success:
175 return &state->frontend;
176} 174}
177 175
178static struct dvb_frontend_ops dtt200u_fe_ops = { 176static struct dvb_frontend_ops dtt200u_fe_ops = {