Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932597AbbLTHNQ (ORCPT ); Sun, 20 Dec 2015 02:13:16 -0500 Received: from [82.165.8.211] ([82.165.8.211]:51554 "EHLO mail.holtmann.org" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751402AbbLTHNP convert rfc822-to-8bit (ORCPT ); Sun, 20 Dec 2015 02:13:15 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: [PATCH 01/14] Bluetooth: use list_for_each_entry* From: Marcel Holtmann In-Reply-To: Date: Sun, 20 Dec 2015 08:13:11 +0100 Cc: "Gustavo F. Padovan" , Johan Hedberg , "David S. Miller" , BlueZ development , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <9F80B03D-AE19-446F-87EC-244BEBABBBFD@holtmann.org> References: To: Geliang Tang X-Mailer: Apple Mail (2.3112) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 739 Lines: 24 Hi Geliang, > Use list_for_each_entry*() instead of list_for_each*() to simplify > the code. > > Signed-off-by: Geliang Tang > --- > net/bluetooth/af_bluetooth.c | 12 ++++++------ > net/bluetooth/cmtp/capi.c | 8 ++------ > net/bluetooth/hci_core.c | 8 +++----- > net/bluetooth/rfcomm/core.c | 46 ++++++++++++++------------------------------ > 4 files changed, 25 insertions(+), 49 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- 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/