Date: Fri, 14 Apr 2017 07:27:24 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316819 - head/sys/dev/msk Message-ID: <201704140727.v3E7ROsb093114@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yongari Date: Fri Apr 14 07:27:23 2017 New Revision: 316819 URL: https://svnweb.freebsd.org/changeset/base/316819 Log: Remove unnecessary assignment. Found by: PVS-Studio Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c ============================================================================== --- head/sys/dev/msk/if_msk.c Fri Apr 14 06:42:46 2017 (r316818) +++ head/sys/dev/msk/if_msk.c Fri Apr 14 07:27:23 2017 (r316819) @@ -4493,7 +4493,7 @@ msk_sysctl_node(struct msk_if_softc *sc_ 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704140727.v3E7ROsb093114>