public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: linux-net@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] net/seeq8005.c: small cleanups (fwd)
Date: Wed, 11 Aug 2004 14:25:46 -0400	[thread overview]
Message-ID: <411A64AA.70902@pobox.com> (raw)
In-Reply-To: <20040809215112.GE26174@fs.tum.de>

Adrian Bunk wrote:
> The trivial patch forwarded below still applies and compiles against 
> 2.6.8-rc3-mm2.
> 
> Please apply.
> 
> 
> ----- Forwarded message from Adrian Bunk <bunk@fs.tum.de> -----
> 
> Date:	Fri, 16 Jul 2004 00:17:42 +0200
> From: Adrian Bunk <bunk@fs.tum.de>
> To: hamish@zot.apana.org.au
> Cc: jgarzik@pobox.com, linux-net@vger.kernel.org,
> 	linux-kernel@vger.kernel.org
> Subject: [2.6 patch] net/seeq8005.c: small cleanups
> 
> The patch below does the following small cleanups in seeq8005.c:
> - kill ancient version variable
> - remove Emacs settings
> 
> 
> diffstat output:
>  drivers/net/seeq8005.c |   18 ------------------
>  1 files changed, 18 deletions(-)
> 
> 
> Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
> 
> --- linux-2.6.8-rc1-mm1-full-3.4/drivers/net/seeq8005.c.old	2004-07-16 00:08:55.000000000 +0200
> +++ linux-2.6.8-rc1-mm1-full-3.4/drivers/net/seeq8005.c	2004-07-16 00:09:28.000000000 +0200
> @@ -12,12 +12,7 @@
>  	This file is a network device driver for the SEEQ 8005 chipset and
>  	the Linux operating system.
>  
> -*/
> -
> -static const char version[] =
> -	"seeq8005.c:v1.00 8/07/95 Hamish Coleman (hamish@zot.apana.org.au)\n";
>  
> -/*
>    Sources:
>    	SEEQ 8005 databook
>    	
> @@ -150,7 +145,6 @@
>  
>  static int __init seeq8005_probe1(struct net_device *dev, int ioaddr)
>  {
> -	static unsigned version_printed;
>  	int i,j;
>  	unsigned char SA_prom[32];
>  	int old_cfg1;
> @@ -291,9 +285,6 @@
>  	}
>  #endif
>  
> -	if (net_debug  &&  version_printed++ == 0)
> -		printk(version);
> -


This "small cleanup" appears to kill useful and working code.

	Jeff



  reply	other threads:[~2004-08-11 18:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-09 21:51 [2.6 patch] net/seeq8005.c: small cleanups (fwd) Adrian Bunk
2004-08-11 18:25 ` Jeff Garzik [this message]
2004-08-11 19:21   ` Adrian Bunk

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=411A64AA.70902@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@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