From: Jonathan Nieder Date: Sat, 31 Dec 2011 10:58:34 +0000 (-0300) Subject: [media] dvb-bt8xx: use goto based exception handling X-Git-Tag: v3.3-rc1~48^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b8537c974cf0f95282286e2f9e3e2476258f52;p=pandora-kernel.git [media] dvb-bt8xx: use goto based exception handling Repeating the same cleanup code in each error handling path makes life unnecessarily difficult for reviewers, who much check each instance of the same copy+pasted code separately. A "goto" to the end of the function is more maintainable and conveys the intent more clearly. While we're touching this code, also lift some assignments from "if" conditionals for simplicity. No functional change intended. Signed-off-by: Jonathan Nieder Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed