Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58352
b: refs/heads/master
c: 146bd68
h: refs/heads/master
v: v3
  • Loading branch information
Linas Vepstas authored and Jeff Garzik committed Jul 9, 2007
1 parent 21c818f commit e31530d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d796fdb708fc5b10112934cba43e832c36ce4923
refs/heads/master: 146bd683cc160d728f1f62a6ddade8451801a8c3
2 changes: 0 additions & 2 deletions trunk/drivers/net/s2io.c
Original file line number Diff line number Diff line change
Expand Up @@ -3970,7 +3970,6 @@ static int s2io_close(struct net_device *dev)
/* 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;
}

Expand Down Expand Up @@ -8053,7 +8052,6 @@ static pci_ers_result_t s2io_io_error_detected(struct pci_dev *pdev,
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);

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/s2io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit e31530d

Please sign in to comment.