diff options
author | Parav Pandit <parav@mellanox.com> | 2018-05-22 20:33:45 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-05-24 09:39:25 -0600 |
commit | 25e62655c79395c596601a35805c3c7376d097b6 (patch) | |
tree | 6862f5ec7948886e016466757c41c06b02758874 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7b74a83cf54a3747e22c57e25712bd70eef8acee (diff) |
IB/core: Reduce the places that use zgid
Instead of open coding memcmp() to check whether a given GID is zero or
not, use a helper function to do so, and replace instances of
memcpy(z,&zgid) with memset.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions