extern void ip_mc_destroy_dev(struct in_device *);
extern void ip_mc_up(struct in_device *);
extern void ip_mc_down(struct in_device *);
-extern int ip_mc_dec_group(struct in_device *in_dev, u32 addr);
+extern void ip_mc_dec_group(struct in_device *in_dev, u32 addr);
extern void ip_mc_inc_group(struct in_device *in_dev, u32 addr);
#endif
#endif
* A socket has left a multicast group on device dev
*/
-int ip_mc_dec_group(struct in_device *in_dev, u32 addr)
+void ip_mc_dec_group(struct in_device *in_dev, u32 addr)
{
- int err = -ESRCH;
struct ip_mc_list *i, **ip;
ASSERT_RTNL();
ip_rt_multicast_event(in_dev);
ip_ma_put(i);
- return 0;
+ return;
}
- err = 0;
break;
}
}
- return -ESRCH;
}
/* Device going down */