Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755148AbXLGIvj (ORCPT ); Fri, 7 Dec 2007 03:51:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754794AbXLGIvT (ORCPT ); Fri, 7 Dec 2007 03:51:19 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:48857 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754336AbXLGIvS (ORCPT ); Fri, 7 Dec 2007 03:51:18 -0500 Date: Fri, 07 Dec 2007 00:51:18 -0800 (PST) Message-Id: <20071207.005118.51611200.davem@davemloft.net> To: crquan@gmail.com Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 17/20] net/xfrm/xfrm_state.c: use LIST_HEAD instead of LIST_HEAD_INIT From: David Miller In-Reply-To: <1196957383-5751-1-git-send-email-crquan@gmail.com> References: <1196957383-5751-1-git-send-email-crquan@gmail.com> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 550 Lines: 15 From: Denis Cheng Date: Fri, 7 Dec 2007 00:09:43 +0800 > single list_head variable initialized with LIST_HEAD_INIT could almost > always can be replaced with LIST_HEAD declaration, this shrinks the code > and looks better. > > Signed-off-by: Denis Cheng Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/