diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2019-02-12 21:39:14 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-16 07:39:15 +0300 |
| commit | be56b07b4f3d0ab37abfb86a78f47bfcfeb6c51c (patch) | |
| tree | 7422f797082adbf2a6f2e0b27efec691b090cc06 /tools/perf/scripts/python/sctop.py | |
| parent | e50838c27ff7e1438ea2f9ab4bfcb227f90a107f (diff) | |
| download | linux-be56b07b4f3d0ab37abfb86a78f47bfcfeb6c51c.tar.xz | |
RDMA/nes: Remove useless usecnt variable and redundant memset
The internal design of RDMA/core ensures that there dealloc ucontext will
be called only if alloc_ucontext succeeded, hence there is no need to
manage internal variable to mark validity of ucontext.
As part of this change, remove redundant memeset too.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
