diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-05-13 00:36:24 +0100 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-05-13 00:36:24 +0100 |
commit | da14f3340bd6879661ed106f47b8ae0101594e22 (patch) | |
tree | f2271d0afe6c12be3959fa44cd9090ed8a2b05c2 /linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c | |
parent | 7a655551e942a6eae6fee9e25411a41f841046c9 (diff) | |
download | mediapointer-dvb-s2-da14f3340bd6879661ed106f47b8ae0101594e22.tar.gz mediapointer-dvb-s2-da14f3340bd6879661ed106f47b8ae0101594e22.tar.bz2 |
Remove the spagetti code gotos that aren't useful
From: Trent Piepho <xyzzy@speakeasy.org>
Some code had pointless gotos that just didn't make any sense. They didn't
make the code smaller, or faster, or easier to understand.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c | 4 |
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 cd21ddbfd..2df6da2b5 100644 --- a/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c +++ b/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c @@ -168,11 +168,9 @@ struct dvb_frontend* dtt200u_fe_attach(struct dvb_usb_device *d) state->frontend.ops = &state->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 = { |