Date: Sun, 16 Sep 2012 19:42:28 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r240571 - head/sys/arm/ti/cpsw Message-ID: <201209161942.q8GJgSxK064948@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmg Date: Sun Sep 16 19:42:27 2012 New Revision: 240571 URL: http://svn.freebsd.org/changeset/base/240571 Log: remove some unnecessary debugging statements, dead code and incorrect comment... Reviewed by: gnn, imp Modified: head/sys/arm/ti/cpsw/if_cpsw.c Modified: head/sys/arm/ti/cpsw/if_cpsw.c ============================================================================== --- head/sys/arm/ti/cpsw/if_cpsw.c Sun Sep 16 18:57:32 2012 (r240570) +++ head/sys/arm/ti/cpsw/if_cpsw.c Sun Sep 16 19:42:27 2012 (r240571) @@ -713,8 +713,6 @@ cpsw_ioctl(struct ifnet *ifp, u_long com sc->cpsw_if_flags = ifp->if_flags; CPSW_GLOBAL_UNLOCK(sc); break; - printf("%s: SIOCSIFFLAGS\n",__func__); - break; case SIOCADDMULTI: printf("%s: SIOCADDMULTI\n",__func__); break; @@ -724,12 +722,10 @@ cpsw_ioctl(struct ifnet *ifp, u_long com case SIOCSIFCAP: printf("%s: SIOCSIFCAP\n",__func__); break; - case SIOCGIFMEDIA: /* fall through */ - printf("%s: SIOCGIFMEDIA\n",__func__); + case SIOCGIFMEDIA: error = ifmedia_ioctl(ifp, ifr, &sc->mii->mii_media, command); break; case SIOCSIFMEDIA: - printf("%s: SIOCSIFMEDIA\n",__func__); error = ifmedia_ioctl(ifp, ifr, &sc->mii->mii_media, command); break; default:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209161942.q8GJgSxK064948>