linux/drivers/staging/qlge
Benjamin Poirier 2b27fc39da staging: qlge: Deduplicate lbq_buf_size
lbq_buf_size is duplicated to every rx_ring structure whereas lbq_buf_order
is present once in the ql_adapter structure. All rings use the same buf
size, keep only one copy of it. Also factor out the calculation of
lbq_buf_size instead of having two copies.

Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20190927101210.23856-5-bpoirier@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-04 17:17:45 +02:00
..
Kconfig
Makefile
qlge_dbg.c staging: qlge: Deduplicate lbq_buf_size 2019-10-04 17:17:45 +02:00
qlge_ethtool.c
qlge_main.c staging: qlge: Deduplicate lbq_buf_size 2019-10-04 17:17:45 +02:00
qlge_mpi.c staging: qlge: Remove irq_cnt 2019-10-04 17:17:44 +02:00
qlge.h staging: qlge: Deduplicate lbq_buf_size 2019-10-04 17:17:45 +02:00
TODO