]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
RDMA/iwpm: Remove set but not used variable 'msg_seq'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 14 Feb 2019 01:57:10 +0000 (01:57 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 14 Feb 2019 21:47:39 +0000 (14:47 -0700)
commit36f0a1ccb3d4c328dfa263412ec28b77970c523b
treef5ac1d2b8f0e828ab7cd98b4ef6747f3745d4d97
parentdad1f9802ecee3a21143293b2505e1b57b1ae525
RDMA/iwpm: Remove set but not used variable 'msg_seq'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/infiniband/core/iwpm_util.c: In function 'iwpm_send_hello':
drivers/infiniband/core/iwpm_util.c:811:6: warning:
 variable 'msg_seq' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit b0bad9ad514f ("RDMA/IWPM:
Support no port mapping requirements")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/iwpm_util.c