summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-03-08 09:54:42 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-03-10 20:33:21 +0300
commit24a5b0ce714210c69a8870d4a11ab6a8cff650c6 (patch)
tree80779cee7bd302a8de8ab98bf5a85a67088efa48 /drivers/infiniband/core/verbs.c
parent32ac9e4399b12d3e54d312a0e0e30ed5cd19bd4e (diff)
downloadlinux-24a5b0ce714210c69a8870d4a11ab6a8cff650c6.tar.xz
RDMA/bnxt_re: Remove a redundant 'memset'
'wqe' is already zeroed at the top of the 'while' loop, just a few lines below, and is not used outside of the loop. So there is no need to zero it again, or for the variable to be declared outside the loop. Link: https://lore.kernel.org/r/20200308065442.5415-1-christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
0 files changed, 0 insertions, 0 deletions