mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "L. Alberto Giménez" <agimenez@sysvalve.es>
To: linux-kernel@vger.kernel.org
Cc: devel@linuxdriverproject.org,
	"Greg Kroah-Hartman" <gregkh@suse.de>,
	"L. Alberto Giménez" <agimenez@sysvalve.es>
Subject: [PATCH 2/3] Staging: rt2860: Avoid extern in .c file
Date: Sun, 12 Dec 2010 18:56:30 +0100	[thread overview]
Message-ID: <1292176591-26081-3-git-send-email-agimenez@sysvalve.es> (raw)
In-Reply-To: <1292176591-26081-1-git-send-email-agimenez@sysvalve.es>

rt28xx_close and rt28xx_open are already declared in a file included in
rt_config.h, so there is no need to declare them again.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
---
 drivers/staging/rt2860/pci_main_dev.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rt2860/pci_main_dev.c b/drivers/staging/rt2860/pci_main_dev.c
index 321facd..628559d 100644
--- a/drivers/staging/rt2860/pci_main_dev.c
+++ b/drivers/staging/rt2860/pci_main_dev.c
@@ -50,9 +50,6 @@ MODULE_ALIAS("rt3090sta");
 /* */
 /* Function declarations */
 /* */
-extern int rt28xx_close(IN struct net_device *net_dev);
-extern int rt28xx_open(struct net_device *net_dev);
-
 static void __devexit rt2860_remove_one(struct pci_dev *pci_dev);
 static int __devinit rt2860_probe(struct pci_dev *pci_dev,
 				  const struct pci_device_id *ent);
-- 
1.7.2.3


  parent reply	other threads:[~2010-12-12 18:16 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-12 17:56 [PATCH 0/3] Staging: rt2860: Fix checkpatch issues L. Alberto Giménez
2010-12-12 17:56 ` [PATCH 1/3] Staging: rt2860: Clean spaces before tabs L. Alberto Giménez
2010-12-13  6:05   ` Dan Carpenter
2010-12-12 17:56 ` L. Alberto Giménez [this message]
2010-12-12 17:56 ` [PATCH 3/3] Staging: rt2860: include KERN_* in printk L. Alberto Giménez
2010-12-12 19:04   ` Joe Perches
2010-12-12 19:25     ` L. Alberto Giménez
2010-12-12 19:46       ` Joe Perches
2010-12-13  0:01         ` L. Alberto Giménez
2010-12-13  3:13           ` Joe Perches
2010-12-13  5:56     ` Dan Carpenter
2010-12-13  6:03       ` Joe Perches
2010-12-12 23:58   ` [PATCH v2] " L. Alberto Giménez
2010-12-13 18:30     ` Greg KH
2010-12-13 20:24       ` L. Alberto Giménez
2010-12-13 21:15         ` Greg KH
2010-12-13 21:53           ` Joe Perches
2010-12-13 22:17             ` Greg KH
2010-12-14  1:01               ` [PATCH 1/2][RESEND] " L. Alberto Giménez
2010-12-14  1:01               ` [PATCH 2/2][RESEND] Staging: rt2860: Sanitize DBGPRINT_ERR macro L. Alberto Giménez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1292176591-26081-3-git-send-email-agimenez@sysvalve.es \
    --to=agimenez@sysvalve.es \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®