Skip to content
Snippets Groups Projects
Commit cb8f4048 authored by Tejun Heo's avatar Tejun Heo Committed by David S. Miller
Browse files

bnx2: remove cancel_work_sync() from remove_one


Michael pointed out that bnx2_close() already cancels bp->reset_task
and thus it is guaranteed to be idle when bnx2_remove_one() is called.
Remove the unnecessary cancel_work_sync() in remove_one.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a13c1327
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment