]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
e1000e: Remove duplicate assignment of default rx/tx ring size
authorWei Yang <weiyang@linux.vnet.ibm.com>
Mon, 20 May 2013 17:31:09 +0000 (17:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 28 Jul 2013 09:42:59 +0000 (02:42 -0700)
commit2592881990198f2b63eefcbc914a7d5259b25580
tree43bbb7cf5e00fce203b64f5f0583de3ab272248c
parent24b41c972ce7e0ff5891bfd0bb5b7d34439f297c
e1000e: Remove duplicate assignment of default rx/tx ring size

tx_ring/rx_ring size is assigned in function e1000_alloc_queues(), which is
called by e1000_sw_init() in the early stage of e1000_probe().

This patch just remove the duplicate assignment of this default ring size
value.

Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Reviewed-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Reviewed-by: Da Yu Qiu <qiudayu@cn.ibm.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c