[PATCH] kexec: Remove the unnecessary conditional judgement to simplify the code logic
Minfei Huang
mnfhuang at gmail.com
Mon Jul 27 21:42:08 PDT 2015
On 07/28/15 at 01:30pm, Simon Horman wrote:
> On Mon, Jul 27, 2015 at 09:44:53AM -0400, Vivek Goyal wrote:
> > On Sat, Jun 06, 2015 at 02:14:12PM +0800, Minfei Huang wrote:
> > > From: Minfei Huang <mnfhuang at gmail.com>
> > >
> > > Transforming PFN(Page Frame Number) to struct page is never failure, so
> > > we can simplify the code logic to do the image->control_page assignment
> > > directly in the loop, and remove the unnecessary conditional judgement.
> > >
> > > Signed-off-by: Minfei Huang <mnfhuang at gmail.com>
> >
> > Looks good to me.
> >
> > Acked-by: Vivek Goyal <vgoyal at redhat.com>
>
> FWIW, this probably needs to be reposted to Andrew Morton with appropriate
> Acks and CCs in order to proceed into his tree and then Linus's.
Thanks.
I will repost it to Andrew Morton.
Thanks
Minfei
More information about the kexec
mailing list