diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2012-09-29 16:15:27 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2012-09-29 16:15:27 +0000 |
commit | 374c6ff93ac5e55e53a4971f181b9cdf331df3b0 (patch) | |
tree | 14f4d45d78b5bd4353cc70915789d5cde9b21b8a /sys/dev/iicbus | |
parent | ab945379edb7fc69a0873a420707a4bd42200fa3 (diff) | |
download | src-374c6ff93ac5e55e53a4971f181b9cdf331df3b0.tar.gz src-374c6ff93ac5e55e53a4971f181b9cdf331df3b0.zip |
Remove unused variables.
Notes
Notes:
svn path=/head/; revision=241048
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r-- | sys/dev/iicbus/s35390a.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/iicbus/s35390a.c b/sys/dev/iicbus/s35390a.c index fc175c231504..59369b3f2380 100644 --- a/sys/dev/iicbus/s35390a.c +++ b/sys/dev/iicbus/s35390a.c @@ -260,10 +260,8 @@ s390rtc_gettime(device_t dev, struct timespec *ts) { 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 timespec *ts) { uint8_t bcd[S390_RT1_NBYTES]; struct clocktime ct; - struct s390rtc_softc *sc; - sc = device_get_softc(dev); clock_ts_to_ct(ts, &ct); /* |