Date: Sat, 29 Sep 2012 16:15:27 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241048 - head/sys/dev/iicbus Message-ID: <201209291615.q8TGFRf9054529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Sat Sep 29 16:15:27 2012 New Revision: 241048 URL: http://svn.freebsd.org/changeset/base/241048 Log: Remove unused variables. Modified: head/sys/dev/iicbus/s35390a.c Modified: head/sys/dev/iicbus/s35390a.c ============================================================================== --- head/sys/dev/iicbus/s35390a.c Sat Sep 29 15:08:55 2012 (r241047) +++ head/sys/dev/iicbus/s35390a.c Sat Sep 29 16:15:27 2012 (r241048) @@ -260,10 +260,8 @@ s390rtc_gettime(device_t dev, struct tim { uint8_t bcd[S390_RT1_NBYTES]; struct clocktime ct; - struct s390rtc_softc *sc; int error; - sc = device_get_softc(dev); error = s390rtc_read(dev, S390_REALTIME1, bcd, S390_RT1_NBYTES); if (error) { device_printf(dev, "%s: cannot read realtime1 register\n", @@ -291,9 +289,7 @@ s390rtc_settime(device_t dev, struct tim { uint8_t bcd[S390_RT1_NBYTES]; struct clocktime ct; - struct s390rtc_softc *sc; - sc = device_get_softc(dev); clock_ts_to_ct(ts, &ct); /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209291615.q8TGFRf9054529>