diff options
| author | 2021-01-11 14:57:54 +0000 | |
|---|---|---|
| committer | 2021-01-19 20:02:07 -0400 | |
| commit | 877745b47783869a3149cf691ebff56e2a557f53 (patch) | |
| tree | 725f541761014aa8eb7408cef32a9bc17ed3d40c /tools/perf/scripts/python/stackcollapse.py | |
| parent | IB/iser: Enforce iser_max_sectors to be greater than 0 (diff) | |
IB/iser: Simplify prot_caps setting
Reduce the number of instructions made for setting protection caps. No
need to do bitwise OR with 0 since we can zero the return value in the
beginning of the function.
Link: https://lore.kernel.org/r/20210111145754.56727-5-mgurtovoy@nvidia.com
Reviewed-by: Israel Rukshin <israelr@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
