summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c b/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c
index 08209564e..17413adec 100644
--- a/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c
+++ b/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c
@@ -166,11 +166,9 @@ struct dvb_frontend* dtt200u_fe_attach(struct dvb_usb_device *d)
memcpy(&state->frontend.ops,&dtt200u_fe_ops,sizeof(struct dvb_frontend_ops));
state->frontend.demodulator_priv = state;
- goto success;
+ return &state->frontend;
error:
return NULL;
-success:
- return &state->frontend;
}
static struct dvb_frontend_ops dtt200u_fe_ops = {