diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-02-19 10:23:30 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-02-26 12:38:24 -0800 |
commit | deb9a9ad3ec100fa7169d0ddfbd24b1520bf26a3 (patch) | |
tree | b88164f523e4ab1a915f84d42c24b43c979072f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46345b38e917bd2f27b3730adaa67e4160e1d94d (diff) |
i40evf: remove redundant array comparisons to 0 checks
The checks to see if key->dst.s6_addr and key->src.s6_addr are null
pointers are redundant because these are constant size arrays and
so the checks always return true. Fix this by removing the redundant
checks. Also replace filter->f with vf, allowing wide lines to be
condensed and to rejoin some split wide lines.
Detected by CoverityScan, CID#1465279 ("Array compared to 0")
Signed-off-by: Colin Ian King <colin.king@canonical.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