From 16cef37ea3229048c2a8fc2af65dc706c352200c Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 31 May 2003 19:38:43 +0000 Subject: [PATCH] Don't define memcpy() to bcopy() and in particular not memset() to bzero() when we have them all already. Found by: FlexeLint --- sys/dev/usb/usb_port.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 1894b9a705e..e5c7bbe7f64 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -361,9 +361,6 @@ typedef struct thread *usb_proc_ptr; #define uio_procp uio_td -/* XXX Change this when FreeBSD has memset */ -#define memcpy(d, s, l) bcopy((s),(d),(l)) -#define memset(d, v, l) bzero((d),(l)) #define usb_kthread_create1(f, s, p, a0, a1) \ kthread_create((f), (s), (p), RFHIGHPID, 0, (a0), (a1)) #define usb_kthread_create2(f, s, p, a0) \