summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-01-11 14:57:54 +0000
committerJason Gunthorpe <jgg@nvidia.com>2021-01-19 20:02:07 -0400
commit877745b47783869a3149cf691ebff56e2a557f53 (patch)
tree725f541761014aa8eb7408cef32a9bc17ed3d40c /tools/perf/scripts/python/bin
parent6bd898baf2bb37968c909a5f057e1ccca90dbb3c (diff)
downloadlinux-877745b47783869a3149cf691ebff56e2a557f53.tar.gz
linux-877745b47783869a3149cf691ebff56e2a557f53.zip
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/bin')
0 files changed, 0 insertions, 0 deletions