staging: qlge: Remove bq_desc.maplen
authorBenjamin Poirier <bpoirier@suse.com>
Fri, 27 Sep 2019 10:11:59 +0000 (19:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 15:17:45 +0000 (17:17 +0200)
commita68a5b2fd3a2490b74cbdda53fb2de5302e973bb
tree8b54cfbcd6db93676e98a41cda41cda8b41ab4de
parent2b27fc39da55ee45ad30bcf2f7b4deb017cb89b8
staging: qlge: Remove bq_desc.maplen

The size of the mapping is known statically in all cases, there's no need
to save it at runtime. Remove this member.

Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Acked-by: Manish Chopra <manishc@marvell.com>
Link: https://lore.kernel.org/r/20190927101210.23856-6-bpoirier@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge.h
drivers/staging/qlge/qlge_main.c