Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Remove some stupid casts.
details: https://anonhg.NetBSD.org/src/rev/bb7db8ddb994
branches: trunk
changeset: 519182:bb7db8ddb994
user: augustss <augustss%NetBSD.org@localhost>
date: Wed Dec 12 15:36:08 2001 +0000
description:
Remove some stupid casts.
diffstat:
sys/dev/usb/if_cue.c | 6 +++---
sys/dev/usb/if_kue.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r e8d293723694 -r bb7db8ddb994 sys/dev/usb/if_cue.c
--- a/sys/dev/usb/if_cue.c Wed Dec 12 15:34:49 2001 +0000
+++ b/sys/dev/usb/if_cue.c Wed Dec 12 15:36:08 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cue.c,v 1.37 2001/12/03 01:47:12 augustss Exp $ */
+/* $NetBSD: if_cue.c,v 1.38 2001/12/12 15:36:08 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cue.c,v 1.37 2001/12/03 01:47:12 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cue.c,v 1.38 2001/12/12 15:36:08 augustss Exp $");
#if defined(__NetBSD__)
#include "opt_inet.h"
@@ -143,7 +143,7 @@
{ USB_VENDOR_SMARTBRIDGES, USB_PRODUCT_SMARTBRIDGES_SMARTLINK },
/* Belkin F5U111 adapter covered by NETMATE entry */
};
-#define cue_lookup(v, p) ((struct cue_type *)usb_lookup(cue_devs, v, p))
+#define cue_lookup(v, p) (usb_lookup(cue_devs, v, p))
USB_DECLARE_DRIVER(cue);
diff -r e8d293723694 -r bb7db8ddb994 sys/dev/usb/if_kue.c
--- a/sys/dev/usb/if_kue.c Wed Dec 12 15:34:49 2001 +0000
+++ b/sys/dev/usb/if_kue.c Wed Dec 12 15:36:08 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_kue.c,v 1.45 2001/12/03 01:47:12 augustss Exp $ */
+/* $NetBSD: if_kue.c,v 1.46 2001/12/12 15:36:09 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.45 2001/12/03 01:47:12 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.46 2001/12/12 15:36:09 augustss Exp $");
#if defined(__NetBSD__)
#include "opt_inet.h"
@@ -181,7 +181,7 @@
{ USB_VENDOR_SHARK, USB_PRODUCT_SHARK_PA },
{ USB_VENDOR_SMC, USB_PRODUCT_SMC_2102USB },
};
-#define kue_lookup(v, p) ((struct kue_type *)usb_lookup(kue_devs, v, p))
+#define kue_lookup(v, p) (usb_lookup(kue_devs, v, p))
USB_DECLARE_DRIVER(kue);
Home |
Main Index |
Thread Index |
Old Index