[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140426.125302.2231088219056320790.davem@davemloft.net>
Date: Sat, 26 Apr 2014 12:53:02 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jin.xiao@...el.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, trivial@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, david.a.cohen@...ux.intel.com
Subject: Re: [PATCH] inetpeer_gc_worker: trivial cleanup
From: xiao jin <jin.xiao@...el.com>
Date: Fri, 25 Apr 2014 08:53:29 +0800
> Do not initialize list twice.
> list_replace_init() already takes care of initializing list.
> We don't need to initialize it with LIST_HEAD() beforehand.
>
> Signed-off-by: xiao jin <jin.xiao@...el.com>
> Reviewed-by: David Cohen <david.a.cohen@...ux.intel.com>
Also applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists