diff options
author | 2010-01-03 18:43:02 +0000 | |
---|---|---|
committer | 2010-01-03 18:43:02 +0000 | |
commit | 4c70c36cd81c580c2c27ca95aae9b2196909b10b (patch) | |
tree | 4aaa5f7c34d2eac84096b72244ddab789fffbcc8 | |
parent | enable aibs (diff) | |
download | wireguard-openbsd-4c70c36cd81c580c2c27ca95aae9b2196909b10b.tar.xz wireguard-openbsd-4c70c36cd81c580c2c27ca95aae9b2196909b10b.zip |
delete unused variable
-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 |