summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-05 16:07:12 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-05 16:07:12 +0000
commit927ce2c8cd35d62127e43da435e7faf64a68a45b (patch)
treea7d1f48993b162bc60f8ebd24142b24e3c374533 /sys/dev/usb
parent40a7fd32cca90c2ad98e5bafe4474bf979dabf5a (diff)
Remove a self-assignment, from Brad
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/hid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/hid.c b/sys/dev/usb/hid.c
index 7cfb771b3ca..a55d9dcbf76 100644
--- a/sys/dev/usb/hid.c
+++ b/sys/dev/usb/hid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hid.c,v 1.24 2011/06/17 07:06:47 mk Exp $ */
+/* $OpenBSD: hid.c,v 1.25 2012/08/05 16:07:11 mpi Exp $ */
/* $NetBSD: hid.c,v 1.23 2002/07/11 21:14:25 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/hid.c,v 1.11 1999/11/17 22:33:39 n_hibma Exp $ */
@@ -174,7 +174,6 @@ hid_get_item(struct hid_data *s, struct hid_item *h)
case 2:
dval = *data++;
dval |= *data++ << 8;
- dval = /*(int16_t)*/ dval;
break;
case 4:
dval = *data++;