aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
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 /tools/perf/scripts/python/export-to-postgresql.py
parentixgbe: move num_vfs_macvlans allocation into separate function (diff)
downloadwireguard-linux-da614d042ac236e5db52c56c7d7d8accd325dd40.tar.xz
wireguard-linux-da614d042ac236e5db52c56c7d7d8accd325dd40.zip
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions