aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/vp7045-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/dvb-usb/vp7045-fe.c')
-rw-r--r--drivers/media/dvb/dvb-usb/vp7045-fe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/vp7045-fe.c b/drivers/media/dvb/dvb-usb/vp7045-fe.c
index 9999336aeeb6..e98e5a517f5a 100644
--- a/drivers/media/dvb/dvb-usb/vp7045-fe.c
+++ b/drivers/media/dvb/dvb-usb/vp7045-fe.c
@@ -155,11 +155,9 @@ struct dvb_frontend * vp7045_fe_attach(struct dvb_usb_device *d)
155 s->fe.ops = &s->ops; 155 s->fe.ops = &s->ops;
156 s->fe.demodulator_priv = s; 156 s->fe.demodulator_priv = s;
157 157
158 goto success; 158 return &s->fe;
159error: 159error:
160 return NULL; 160 return NULL;
161success:
162 return &s->fe;
163} 161}
164 162
165 163