iwlwifi: fw: combine loading of last page block into main copy loop
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 14 Feb 2018 06:54:40 +0000 (08:54 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Apr 2018 12:18:07 +0000 (15:18 +0300)
commitebcb6b8b80e6eceb3ca8feca8a73e2812953856c
treea0d82d19ed7cc05b469f3b1643b3381f6210c28c
parent2b38192bb17a932023203ddd678fc4de8e25b44c
iwlwifi: fw: combine loading of last page block into main copy loop

Now that we check and copy only the actual size of the page block,
there is no need to treat the last block separately.  Remove the
mostly duplicate code and make the main copy loop handle also the last
block.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/paging.c