fm10k: remove unnecessary else block from if statements with return
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 26 Oct 2015 23:32:05 +0000 (16:32 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 13 Dec 2015 23:27:37 +0000 (15:27 -0800)
commit4ab0f79bf313b16d4038b94d861ec2184d347c6d
treed8cf47375b7b99fc837fc134a643b77c3c36cf6c
parent40423dd2a56ab95c41b69d9dd910199a0acfd5c5
fm10k: remove unnecessary else block from if statements with return

Improve code style by removing the unnecessary else block of an if
statement which immediately returns.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pf.c