iwlwifi: remove unnecessary goto out in iwl_parse_nvm_mcc_info()
This goto out was unnecessary because the out label was immediately below it. Remove it. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
@@ -1193,10 +1193,8 @@ iwl_parse_nvm_mcc_info(struct device *dev, const struct iwl_cfg *cfg,
|
|||||||
*/
|
*/
|
||||||
copy_rd = kmemdup(regd, struct_size(regd, reg_rules, valid_rules),
|
copy_rd = kmemdup(regd, struct_size(regd, reg_rules, valid_rules),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
if (!copy_rd) {
|
if (!copy_rd)
|
||||||
copy_rd = ERR_PTR(-ENOMEM);
|
copy_rd = ERR_PTR(-ENOMEM);
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
out:
|
out:
|
||||||
kfree(regdb_ptrs);
|
kfree(regdb_ptrs);
|
||||||
|
Reference in New Issue
Block a user