diff options
| author | Benjamin Poirier <bpoirier@suse.com> | 2019-09-27 19:11:58 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 17:17:45 +0200 |
| commit | 2b27fc39da55ee45ad30bcf2f7b4deb017cb89b8 (patch) | |
| tree | 963d2d388c9d599fe29b55d8190cbc142ea04aa0 /tools/perf/scripts/python/bin | |
| parent | f70e8459fdea1905ca9bfbf987daf9f1a1c545e8 (diff) | |
| download | linux-2b27fc39da55ee45ad30bcf2f7b4deb017cb89b8.tar.gz linux-2b27fc39da55ee45ad30bcf2f7b4deb017cb89b8.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
