From: linas@austin.ibm.com (Linas Vepstas)
To: Jeff Garzik <jgarzik@pobox.com>, Andrew Morton <akpm@osdl.org>
Cc: Ramkrishna Vepa <Ramkrishna.Vepa@neterion.com>,
Sivakumar Subramani <sivakumar.subramani@neterion.com>,
Sreenivasa Honnur <sreenivasa.honnur@neterion.com>,
Rastapur Santosh <santosh.rastapur@neterion.com>,
Wen Xiong <wenxiong@us.ibm.com>,
linux-pci@atrey.karlin.mff.cuni.cz, netdev@vger.kernel.org
Subject: [PATCH 2/2]: s2io: minor janitoring
Date: Mon, 21 May 2007 14:02:18 -0500 [thread overview]
Message-ID: <20070521190218.GE5921@austin.ibm.com> (raw)
In-Reply-To: <20070521185853.GD5921@austin.ibm.com>
s2io cleanup suggestions, per discussion on mailing lists.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
----
drivers/net/s2io.c | 2 --
drivers/net/s2io.h | 1 -
2 files changed, 3 deletions(-)
Index: linux-2.6.22-rc1/drivers/net/s2io.c
===================================================================
--- linux-2.6.22-rc1.orig/drivers/net/s2io.c 2007-05-21 13:32:45.000000000 -0500
+++ linux-2.6.22-rc1/drivers/net/s2io.c 2007-05-21 13:33:18.000000000 -0500
@@ -3980,7 +3980,6 @@ static int s2io_close(struct net_device
/* Reset card, kill tasklet and free Tx and Rx buffers. */
s2io_card_down(sp);
- sp->device_close_flag = TRUE; /* Device is shut down. */
return 0;
}
@@ -8075,7 +8074,6 @@ static pci_ers_result_t s2io_io_error_de
if (netif_running(netdev)) {
/* Bring down the card, while avoiding PCI I/O */
do_s2io_card_down(sp, 0);
- sp->device_close_flag = TRUE; /* Device is shut down. */
}
pci_disable_device(pdev);
Index: linux-2.6.22-rc1/drivers/net/s2io.h
===================================================================
--- linux-2.6.22-rc1.orig/drivers/net/s2io.h 2007-05-21 11:54:52.000000000 -0500
+++ linux-2.6.22-rc1/drivers/net/s2io.h 2007-05-21 13:33:18.000000000 -0500
@@ -794,7 +794,6 @@ struct s2io_nic {
struct net_device_stats stats;
int high_dma_flag;
- int device_close_flag;
int device_enabled_once;
char name[60];
next prev parent reply other threads:[~2007-05-21 19:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 18:58 [PATCH 1/2 v4] s2io: add PCI error recovery support Linas Vepstas
2007-05-21 19:02 ` Linas Vepstas [this message]
2007-05-21 21:48 ` Andrew Morton
2007-05-21 22:23 ` Linas Vepstas
2007-05-21 22:49 ` Andrew Morton
2007-05-21 22:51 ` Jeff Garzik
2007-05-22 22:47 ` Linas Vepstas
2007-05-22 22:48 ` Jeff Garzik
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=20070521190218.GE5921@austin.ibm.com \
--to=linas@austin.ibm.com \
--cc=Ramkrishna.Vepa@neterion.com \
--cc=akpm@osdl.org \
--cc=jgarzik@pobox.com \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=netdev@vger.kernel.org \
--cc=santosh.rastapur@neterion.com \
--cc=sivakumar.subramani@neterion.com \
--cc=sreenivasa.honnur@neterion.com \
--cc=wenxiong@us.ibm.com \
/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;
as well as URLs for NNTP newsgroup(s).