]> git.baikalelectronics.ru Git - kernel.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)
commit95ce14c8494669038fb6012c100b2b3eda557083
treec502c082b02454ec983d37c78a4191efd50fe78e
parent63955621f5ed5b0e4e4f6f7726e0699769cc3a50
[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