summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2017-01-20 14:11:50 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-04-18 13:24:04 -0700
commitda614d042ac236e5db52c56c7d7d8accd325dd40 (patch)
tree854efcb7bf6daae3d26d2be8f6fa6a22c41e2ebb /drivers/net/ieee802154
parent2bc0972988c770dce093584ffd641856e3b18c5c (diff)
ixgbe: return early instead of wrap block in if statement
Since we exit at the end of the block, we can save a level of indentation by performing an early return, and make the next several sections of code more legible, with fewer 80 character line breaks. Also moved allocating vfinfo at the beginning and the notification for enabling SRIOV at the end of the function when we know that it will succeed. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ieee802154')
0 files changed, 0 insertions, 0 deletions