IB/mad: Delete RMPP_STATE_CANCELING state
authorShay Drory <shayd@mellanox.com>
Sun, 21 Jun 2020 10:47:38 +0000 (13:47 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 24 Jun 2020 19:43:45 +0000 (16:43 -0300)
commit5611074a20fd17e05cda1f3897fce3528c4b26eb
tree1b4f763f079ed772c4220581d1e64858457eea5d
parente41c425349bc9fa5399717c21f77bb7cd911084f
IB/mad: Delete RMPP_STATE_CANCELING state

The cancel_delayed_work can be called under lock since it doesn't sleep.
This makes the RMPP_STATE_CANCELING state not needed anymore, remove it.

Link: https://lore.kernel.org/r/20200621104738.54850-5-leon@kernel.org
Signed-off-by: Shay Drory <shayd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/mad_rmpp.c