|
@@ -2275,8 +2275,6 @@ static void cancel_mads(struct ib_mad_agent_private *mad_agent_priv)
|
|
|
|
|
|
/* Empty wait list to prevent receives from finding a request */
|
|
/* Empty wait list to prevent receives from finding a request */
|
|
list_splice_init(&mad_agent_priv->wait_list, &cancel_list);
|
|
list_splice_init(&mad_agent_priv->wait_list, &cancel_list);
|
|
- /* Empty local completion list as well */
|
|
|
|
- list_splice_init(&mad_agent_priv->local_list, &cancel_list);
|
|
|
|
spin_unlock_irqrestore(&mad_agent_priv->lock, flags);
|
|
spin_unlock_irqrestore(&mad_agent_priv->lock, flags);
|
|
|
|
|
|
/* Report all cancelled requests */
|
|
/* Report all cancelled requests */
|