From patchwork Thu Oct 21 17:50:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stephen hemminger X-Patchwork-Id: 68742 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 8D178B6F11 for ; Fri, 22 Oct 2010 05:01:45 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756588Ab0JUSBf (ORCPT ); Thu, 21 Oct 2010 14:01:35 -0400 Received: from suva.vyatta.com ([76.74.103.44]:36304 "EHLO suva.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756371Ab0JUSBF (ORCPT ); Thu, 21 Oct 2010 14:01:05 -0400 Received: from suva.vyatta.com (suva [127.0.0.1]) by suva.vyatta.com (8.13.7/8.13.7) with ESMTP id o9LI13vG006306; Thu, 21 Oct 2010 11:01:03 -0700 Received: (from shemminger@localhost) by suva.vyatta.com (8.13.7/8.13.7/Submit) id o9LI13ro006305; Thu, 21 Oct 2010 11:01:03 -0700 Message-Id: <20101021175148.226174821@vyatta.com> User-Agent: quilt/0.48-1 Date: Thu, 21 Oct 2010 10:50:48 -0700 From: Stephen Hemminger To: David Miller , Sathya Perla , Subbu Seetharaman , Sarveshwar Bandi , Ajit Khaparde Cc: netdev@vger.kernel.org Subject: [PATCH 03/12] benet: make be_poll_rx local References: <20101021175045.625707607@vyatta.com> Content-Disposition: inline; filename=benet-local.patch Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Only used in one file. Signed-off-by: Stephen Hemminger --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/net/benet/be_main.c 2010-10-21 08:51:43.772014277 -0700 +++ b/drivers/net/benet/be_main.c 2010-10-21 08:51:59.225470145 -0700 @@ -1674,7 +1674,7 @@ static inline bool do_gro(struct be_adap return (tcp_frame && !err) ? true : false; } -int be_poll_rx(struct napi_struct *napi, int budget) +static int be_poll_rx(struct napi_struct *napi, int budget) { struct be_eq_obj *rx_eq = container_of(napi, struct be_eq_obj, napi); struct be_rx_obj *rxo = container_of(rx_eq, struct be_rx_obj, rx_eq);