diff options
author | 2020-07-20 20:56:26 +0300 | |
---|---|---|
committer | 2020-07-24 16:53:02 -0300 | |
commit | 29f3fe1d6854053b32432d01f9810d6fff152ece (patch) | |
tree | 98b1831cda75ab4a44c5083db8ac46751efd5f19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/mlx5: Add missing srcu_read_lock in ODP implicit flow (diff) | |
download | wireguard-linux-29f3fe1d6854053b32432d01f9810d6fff152ece.tar.xz wireguard-linux-29f3fe1d6854053b32432d01f9810d6fff152ece.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions