Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756748AbYC3XM7 (ORCPT ); Sun, 30 Mar 2008 19:12:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752111AbYC3XMq (ORCPT ); Sun, 30 Mar 2008 19:12:46 -0400 Received: from smtp4.pp.htv.fi ([213.243.153.38]:54778 "EHLO smtp4.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626AbYC3XMp (ORCPT ); Sun, 30 Mar 2008 19:12:45 -0400 Date: Mon, 31 Mar 2008 02:12:16 +0300 From: Adrian Bunk To: chas@cmf.nrl.navy.mil, jgarzik@pobox.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [2.6 patch] atm/idt77252.c: make 2 functions static Message-ID: <20080330231216.GA28445@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1263 Lines: 45 This patch makes the following needlessly global functions static: - idt77252_send() - idt77252_dev_close() Signed-off-by: Adrian Bunk --- This patch has been sent on: - 1 Mar 2008 drivers/atm/idt77252.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 36dff5da01d6548a345e7d9a115ee3121df95591 foobar diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index eee54c0..9e94b64 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c @@ -2016,8 +2016,7 @@ idt77252_send_skb(struct atm_vcc *vcc, struct sk_buff *skb, int oam) return 0; } -int -idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb) +static int idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb) { return idt77252_send_skb(vcc, skb, 0); } @@ -3072,8 +3071,7 @@ idt77252_dev_open(struct idt77252_dev *card) return 0; } -void -idt77252_dev_close(struct atm_dev *dev) +static void idt77252_dev_close(struct atm_dev *dev) { struct idt77252_dev *card = dev->dev_data; u32 conf; -- 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/