summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-01-10 14:19:03 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-01-18 23:59:04 +0300
commita6dc16b6996388d016df83fb92eae16242ab7ac5 (patch)
tree1eccf8b5be8e5975c8c91ed3a77fcc1e436d4642 /drivers/gpu
parentec53a2a6540d6025f0ff205af0ba635c9b1cce02 (diff)
downloadlinux-a6dc16b6996388d016df83fb92eae16242ab7ac5.tar.xz
IB/isert: Simplify signature cap check
Use if/else clause instead of "condition ? val1 : val2" to make the code cleaner and simpler. Link: https://lore.kernel.org/r/20210110111903.486681-3-mgurtovoy@nvidia.com Reviewed-by: Israel Rukshin <israelr@nvidia.com> Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Acked-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions