diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-01-03 18:43:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-01-03 18:43:03 +0000 |
commit | 8dbb1192d077b6b9cc92dd4db8cb51421217ca13 (patch) | |
tree | ed0c96fddc759210acbb67a2ae29ed125291d10a /sys/dev/usb/uthum.c | |
parent | aefdce9774d6124ba076719219c4a6d98e0b98da (diff) |
delete unused variable
Diffstat (limited to 'sys/dev/usb/uthum.c')
-rw-r--r-- | sys/dev/usb/uthum.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/usb/uthum.c b/sys/dev/usb/uthum.c index 21d177bc778..76712826de9 100644 --- a/sys/dev/usb/uthum.c +++ b/sys/dev/usb/uthum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthum.c,v 1.5 2009/12/17 08:28:03 yuo Exp $ */ +/* $OpenBSD: uthum.c,v 1.6 2010/01/03 18:43:02 deraadt Exp $ */ /* * Copyright (c) 2009 Yojiro UO <yuo@nui.org> @@ -77,8 +77,6 @@ struct uthum_softc { size_t sc_ilen; /* input report length */ size_t sc_olen; /* output report length */ - uint8_t *sc_ibuf; - /* sensor framework */ struct ksensor sc_sensor[UTHUM_MAX_SENSORS]; struct ksensordev sc_sensordev; @@ -259,12 +257,7 @@ uthum_activate(struct device *self, int act) void uthum_intr(struct uhidev *addr, void *ibuf, u_int len) { - struct uthum_softc *sc = (struct uthum_softc *)addr; - if (sc->sc_ibuf == NULL) - return; - - /* nothing to do? */ - return; + /* do nothing */ } int |