staging: qlge: Remove page_chunk.last_flag
authorBenjamin Poirier <bpoirier@suse.com>
Fri, 27 Sep 2019 10:11:57 +0000 (19:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 15:17:44 +0000 (17:17 +0200)
commitf70e8459fdea1905ca9bfbf987daf9f1a1c545e8
treed5dea22725d1c20b4d678863eee017db21ea1dc7
parente759b5cf70894a1a4a6a5e60a3bd63b7dc788b01
staging: qlge: Remove page_chunk.last_flag

As already done in ql_get_curr_lchunk(), this member can be replaced by a
simple test.

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