mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
socket: fix unused variable
This commit is contained in:
parent
969e1525f2
commit
2677623c8c
1 changed files with 1 additions and 1 deletions
|
@ -379,9 +379,9 @@ int socket_stop(struct node *n)
|
||||||
|
|
||||||
int socket_destroy(struct node *n)
|
int socket_destroy(struct node *n)
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_NETEM
|
||||||
struct socket *s = (struct socket *) n->_vd;
|
struct socket *s = (struct socket *) n->_vd;
|
||||||
|
|
||||||
#ifdef WITH_NETEM
|
|
||||||
rtnl_qdisc_put(s->tc_qdisc);
|
rtnl_qdisc_put(s->tc_qdisc);
|
||||||
rtnl_cls_put(s->tc_classifier);
|
rtnl_cls_put(s->tc_classifier);
|
||||||
#endif /* WITH_NETEM */
|
#endif /* WITH_NETEM */
|
||||||
|
|
Loading…
Add table
Reference in a new issue