diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-07-20 20:56:26 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-24 16:53:02 -0300 |
commit | 29f3fe1d6854053b32432d01f9810d6fff152ece (patch) | |
tree | 98b1831cda75ab4a44c5083db8ac46751efd5f19 /drivers/dma/fsl_raid.h | |
parent | d4d7f59643f795ae2f3233e3dddce3b4f549dcdc (diff) |
RDMA/uverbs: Remove redundant assignments
The kbuild reported the following warning, so clean whole uverbs_cmd.c
file.
drivers/infiniband/core/uverbs_cmd.c:1066:6: warning: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment]
ret = uverbs_request(attrs, &cmd, sizeof(cmd));
^
drivers/infiniband/core/uverbs_cmd.c:1064:0: note: Variable 'ret' is reassigned a value before the old one has been used.
int ret = -EINVAL;
^
Link: https://lore.kernel.org/r/20200720175627.1273096-2-leon@kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/dma/fsl_raid.h')
0 files changed, 0 insertions, 0 deletions