iavf: Move commands processing to the separate function
authorJakub Pawlak <jakub.pawlak@intel.com>
Tue, 14 May 2019 17:37:04 +0000 (10:37 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Jun 2019 22:39:26 +0000 (15:39 -0700)
commitb476b0030e612e0c968fed91e52db2c4a9786476
tree5f1cab6f2cc6571244cca878418026218c95d8c7
parent16e00c25ac36d09c077aa0f296e053538096a48d
iavf: Move commands processing to the separate function

Move the commands processing outside the watchdog_task()
function. This reduce length and complexity of the function
which is mainly designed to process the watchdog state machine.

Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/iavf/iavf_main.c