mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Petko Manolov <petkan@nucleusys.com>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] drivers/usb/net/pegasus.c: make some code static
Date: Tue, 1 Mar 2005 11:18:23 +0200 (EET)	[thread overview]
Message-ID: <Pine.LNX.4.61.0503011116430.2909@bender.nucleusys.com> (raw)
In-Reply-To: <20050301003541.GA4021@stusta.de>

That's reasonable.  Thanks for the patch.


 		Petko



On Tue, 1 Mar 2005, Adrian Bunk wrote:

> This patch makes some needlessly global code static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
>
> drivers/usb/net/pegasus.c |    7 ++++---
> 1 files changed, 4 insertions(+), 3 deletions(-)
>
> --- linux-2.6.11-rc4-mm1-full/drivers/usb/net/pegasus.c.old	2005-02-28 23:26:58.000000000 +0100
> +++ linux-2.6.11-rc4-mm1-full/drivers/usb/net/pegasus.c	2005-02-28 23:27:45.000000000 +0100
> @@ -956,7 +956,8 @@
> 	return 0;
> }
>
> -void pegasus_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
> +static void pegasus_get_drvinfo(struct net_device *dev,
> +				struct ethtool_drvinfo *info)
> {
> 	pegasus_t *pegasus = netdev_priv(dev);
> 	strncpy(info->driver, driver_name, sizeof (info->driver) - 1);
> @@ -1156,10 +1157,10 @@
> }
>
>
> -struct workqueue_struct *pegasus_workqueue = NULL;
> +static struct workqueue_struct *pegasus_workqueue = NULL;
> #define CARRIER_CHECK_DELAY (2 * HZ)
>
> -void check_carrier(void *data)
> +static void check_carrier(void *data)
> {
> 	pegasus_t *pegasus = data;
> 	set_carrier(pegasus->net);
>
>

  reply	other threads:[~2005-03-01  9:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01  0:35 Adrian Bunk
2005-03-01  9:18 ` Petko Manolov [this message]
2005-03-18  1:17 ` Greg KH

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=Pine.LNX.4.61.0503011116430.2909@bender.nucleusys.com \
    --to=petkan@nucleusys.com \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /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®