linux-sg2042/drivers/infiniband/ulp/iser
Max Gurtovoy 877745b477 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>
2021-01-19 20:02:07 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
iscsi_iser.c IB/iser: Simplify prot_caps setting 2021-01-19 20:02:07 -04:00
iscsi_iser.h IB/iser: use new shared CQ mechanism 2020-07-29 09:10:31 -03:00
iser_initiator.c RDMA/iser: Remove support for FMR memory registration 2020-06-02 20:32:53 -03:00
iser_memory.c IB/iser: Remove unneeded semicolons 2021-01-19 20:02:06 -04:00
iser_verbs.c IB/iser: Remove unneeded semicolons 2021-01-19 20:02:06 -04:00