]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/uverbs: Remove redundant check
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 24 Jun 2018 08:23:52 +0000 (11:23 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 26 Jun 2018 20:37:26 +0000 (14:37 -0600)
commit5962278f7ce71a36b71bf59c80cee39cac2937ad
tree8cd2f04c5048bef957bc68b61210952a4c840761
parentb0cc1d74821362e7eb59d5cab8abb968286dd4b0
RDMA/uverbs: Remove redundant check

kern_spec->reserved is checked prior to calling
kern_spec_to_ib_spec_filter() which makes this second check redundant.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c