From: Johannes Berg Date: Mon, 5 Mar 2012 19:24:22 +0000 (-0800) Subject: iwlwifi: simplify code in iwlagn_key_sta_id X-Git-Tag: v3.4-rc1~177^2~108^2~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e4e6868c532b439754154d69a2837dbf9bd91e;p=pandora-kernel.git iwlwifi: simplify code in iwlagn_key_sta_id Simplify the code by returning directly in the error case and replacing the switch/if with a single if statement. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed