lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 21 May 2007 14:02:18 -0500 From: linas@...tin.ibm.com (Linas Vepstas) To: Jeff Garzik <jgarzik@...ox.com>, Andrew Morton <akpm@...l.org> Cc: Ramkrishna Vepa <Ramkrishna.Vepa@...erion.com>, Sivakumar Subramani <sivakumar.subramani@...erion.com>, Sreenivasa Honnur <sreenivasa.honnur@...erion.com>, Rastapur Santosh <santosh.rastapur@...erion.com>, Wen Xiong <wenxiong@...ibm.com>, linux-pci@...ey.karlin.mff.cuni.cz, netdev@...r.kernel.org Subject: [PATCH 2/2]: s2io: minor janitoring s2io cleanup suggestions, per discussion on mailing lists. Signed-off-by: Linas Vepstas <linas@...tin.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]; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists