iwlwifi: code cleanup to remove un-necessary "goto"
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 15 Jun 2010 00:09:56 +0000 (17:09 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 21 Jun 2010 17:47:39 +0000 (10:47 -0700)
commit936e8a734fea8f18d0d90846bb726fd5bd7e128b
tree370f1441f2b1d3a8d9f90731a69b873c7d7fe18b
parentf84ac08db25f60a6973cac1a90f392b286054e2f
iwlwifi: code cleanup to remove un-necessary "goto"

Break out of loop and log the error message when encounter error; this is
better approach than using "goto".

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-calib.c