Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Kill self-assignment
details: https://anonhg.NetBSD.org/src/rev/663638303dd4
branches: trunk
changeset: 765374:663638303dd4
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 18:11:34 2011 +0000
description:
Kill self-assignment
diffstat:
sys/dev/usb/hid.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 0db8d5b04bf8 -r 663638303dd4 sys/dev/usb/hid.c
--- a/sys/dev/usb/hid.c Tue May 24 18:07:11 2011 +0000
+++ b/sys/dev/usb/hid.c Tue May 24 18:11:34 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hid.c,v 1.31 2010/11/03 22:34:23 dyoung Exp $ */
+/* $NetBSD: hid.c,v 1.32 2011/05/24 18:11:34 joerg Exp $ */
/* $FreeBSD: src/sys/dev/usb/hid.c,v 1.11 1999/11/17 22:33:39 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hid.c,v 1.31 2010/11/03 22:34:23 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hid.c,v 1.32 2011/05/24 18:11:34 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -178,7 +178,6 @@
case 2:
dval = *data++;
dval |= *data++ << 8;
- dval = /*(int16_t)*/ dval;
break;
case 4:
dval = *data++;
Home |
Main Index |
Thread Index |
Old Index