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/vp702x-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/vp702x-fe.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/vp702x-fe.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c b/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c index 2a89f8c5d..9d26f46de 100644 --- a/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c +++ b/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c @@ -293,11 +293,9 @@ struct dvb_frontend * vp702x_fe_attach(struct dvb_usb_device *d) s->lnb_buf[1] = SET_LNB_POWER; s->lnb_buf[3] = 0xff; /* 0=tone burst, 2=data burst, ff=off */ - goto success; + return &s->fe; error: return NULL; -success: - return &s->fe; } |