]> git.karo-electronics.de Git - linux-beck.git/commit
[media] ttusb-budget: use goto for exception handling
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 31 Dec 2011 11:01:56 +0000 (08:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 14:44:22 +0000 (12:44 -0200)
commit42702de248d9edff22efe25e275c211a5bb80baf
treec502c082b02454ec983d37c78a4191efd50fe78e
parente4b8537c974cf0f95282286e2f9e3e2476258f52
[media] ttusb-budget: use goto for exception handling

Avoid some repetition by adopting the usual "goto err" idiom for error
handling.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c