RDMA/iwpm: Remove redundant initialization of pointer err_str
authorColin Ian King <colin.king@canonical.com>
Thu, 7 Oct 2021 17:39:42 +0000 (18:39 +0100)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 12 Oct 2021 16:11:46 +0000 (13:11 -0300)
commit4bd46f3a986db97fdb67b05a6b379499fce179ea
tree965cbe2faeb027eead96aa1e35daaffc2601c179
parent9a33f3980978e420672b0b54e3fa0c7908fd7c78
RDMA/iwpm: Remove redundant initialization of pointer err_str

The pointer err_str is being initialized with a value that is never read,
it is being updated later on. The assignment is redundant and can be
removed.

Link: https://lore.kernel.org/r/20211007173942.21933-1-colin.king@canonical.com
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/iwpm_util.c