X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=net%2F802%2Fmrp.c;h=eafc21ecc287d9b49f724d474258a032da684e2f;hb=c66d39f18e0ef16bac8c8491b657051f531a1eba;hp=66fcbf23b4868e95bafb3107bba98303912ffb7b;hpb=51094a24b85e29138b7fa82ef1e1b4fe19c90046;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/net/802/mrp.c b/net/802/mrp.c index 66fcbf2..eafc21e 100644 --- a/net/802/mrp.c +++ b/net/802/mrp.c @@ -911,8 +911,8 @@ void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *appl) /* Delete timer and generate a final TX event to flush out * all pending messages before the applicant is gone. */ - del_timer_sync(&app->join_timer); - del_timer_sync(&app->periodic_timer); + timer_shutdown_sync(&app->join_timer); + timer_shutdown_sync(&app->periodic_timer); spin_lock_bh(&app->lock); mrp_mad_event(app, MRP_EVENT_TX);