Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73270
b: refs/heads/master
c: df1e6e5
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Nov 7, 2007
1 parent 307d5b4 commit c47f305
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 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: df61c952622f51facac21dd8dfa4d8a24dcb9657
refs/heads/master: df1e6e54842a47675a2f69a089ecb8ad409f167f
18 changes: 0 additions & 18 deletions trunk/drivers/net/rrunner.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ static char version[] __devinitdata = "rrunner.c: v0.50 11/11/2002 Jes Sorensen
* stack will need to know about I/O vectors or something similar.
*/

/*
* sysctl_[wr]mem_max are checked at init time to see if they are at
* least 256KB and increased to 256KB if they are not. This is done to
* avoid ending up with socket buffers smaller than the MTU size,
*/

static int __devinit rr_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
Expand Down Expand Up @@ -561,18 +555,6 @@ static int __devinit rr_init(struct net_device *dev)
sram_size = rr_read_eeprom_word(rrpriv, (void *)8);
printk(" SRAM size 0x%06x\n", sram_size);

if (sysctl_rmem_max < 262144){
printk(" Receive socket buffer limit too low (%i), "
"setting to 262144\n", sysctl_rmem_max);
sysctl_rmem_max = 262144;
}

if (sysctl_wmem_max < 262144){
printk(" Transmit socket buffer limit too low (%i), "
"setting to 262144\n", sysctl_wmem_max);
sysctl_wmem_max = 262144;
}

return 0;
}

Expand Down

0 comments on commit c47f305

Please sign in to comment.