Messages in this thread | | | Date | Wed, 12 Dec 2012 05:23:16 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH V4 2/3] MCE: fix an error of mce_bad_pages statistics |
| |
> if (PageHWPoison(hpage)) { > pr_info("soft offline: %#lx hugepage already poisoned\n", pfn); > - return -EBUSY; > + ret = -EBUSY; > + goto out;
Doesn't look like a code improvement to me. Single return is easier and simpler.
-Andi
> +out: > return ret; > } > -- > 1.7.1 > >
-- ak@linux.intel.com -- Speaking for myself only.
| |