diff options
-rw-r--r-- | drivers/infiniband/core/mad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/core/mad.c b/drivers/infiniband/core/mad.c index 5eace995836d..fbe16d5250a4 100644 --- a/drivers/infiniband/core/mad.c +++ b/drivers/infiniband/core/mad.c | |||
@@ -2275,8 +2275,6 @@ static void cancel_mads(struct ib_mad_agent_private *mad_agent_priv) | |||
2275 | 2275 | ||
2276 | /* Empty wait list to prevent receives from finding a request */ | 2276 | /* Empty wait list to prevent receives from finding a request */ |
2277 | list_splice_init(&mad_agent_priv->wait_list, &cancel_list); | 2277 | list_splice_init(&mad_agent_priv->wait_list, &cancel_list); |
2278 | /* Empty local completion list as well */ | ||
2279 | list_splice_init(&mad_agent_priv->local_list, &cancel_list); | ||
2280 | spin_unlock_irqrestore(&mad_agent_priv->lock, flags); | 2278 | spin_unlock_irqrestore(&mad_agent_priv->lock, flags); |
2281 | 2279 | ||
2282 | /* Report all cancelled requests */ | 2280 | /* Report all cancelled requests */ |