Remove unnecessary assignment.

Found by:	PVS-Studio
This commit is contained in:
Pyun YongHyeon 2017-04-14 07:27:23 +00:00
parent 2f4a73322e
commit 9935c65a28
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316819

View file

@ -4493,7 +4493,7 @@ msk_sysctl_node(struct msk_if_softc *sc_if)
tree = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "stats", CTLFLAG_RD,
NULL, "MSK Statistics");
schild = child = SYSCTL_CHILDREN(tree);
schild = SYSCTL_CHILDREN(tree);
tree = SYSCTL_ADD_NODE(ctx, schild, OID_AUTO, "rx", CTLFLAG_RD,
NULL, "MSK RX Statistics");
child = SYSCTL_CHILDREN(tree);