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)
commitde460ddd8b795ceca8a826771ef8feb016bb438d
treea0d82d19ed7cc05b469f3b1643b3381f6210c28c
parent9039d985811d5b109b58b202b7594fd24e433fed
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