From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754727Ab1GAD1C (ORCPT ); Thu, 30 Jun 2011 23:27:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6455 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754254Ab1GAD1A (ORCPT ); Thu, 30 Jun 2011 23:27:00 -0400 Message-ID: <4E0D3E80.5080209@redhat.com> Date: Fri, 01 Jul 2011 11:26:56 +0800 From: Cong Wang User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: Joe Perches CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 0/2] netpoll: Trivial updates References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2011年07月01日 09:08, Joe Perches 写道: > cc: WANG Cong > > Joe Perches (2): > netpoll: Remove unused EXPORT_SYMBOLs of netpoll_poll and netpoll_poll_dev > netpoll: Remove trivial wrapper function netpoll_poll > > include/linux/netpoll.h | 2 -- > net/core/netpoll.c | 13 +++---------- > 2 files changed, 3 insertions(+), 12 deletions(-) > I am fine with patch 1/2, but not 2/2, since it is trivial, why touch it? With netpoll_poll(), we don't need to explore the details of struct netpoll, I think it is nice to have it. BTW, you can kill the export of netpoll_send_skb_on_dev() too. Thanks.