commit | cb8f404893bab40431f7eeb2511454031b07e7df | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Dec 14 06:09:59 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 21 12:20:47 2010 -0800 |
tree | 8def8bda0f66bc70cae163f945e039bd9b3dbc8c | |
parent | a13c13273a206e0c4b9a814277fb50529457abe7 [diff] |
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: Tejun Heo <tj@kernel.org> Acked-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>