From: Pedro Marzo Perez Date: Tue, 2 Jun 2015 23:28:38 +0000 (+0200) Subject: Staging: rtl8192u: Simplify error check code at prism2_wep_init X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~290 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=251ae75c69c427149ab0f70b12a436144edd81b1;p=pandora-kernel.git Staging: rtl8192u: Simplify error check code at prism2_wep_init Simplify prism2_wep_init error check code employing goto when a failure is detected. Removed pr_debug which was given a checkpatch.pl error because of literal string splitted across two lines of code, it was seldom going to be printed anyway. Signed-off-by: Pedro Marzo Perez Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed