summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 19:38:43 +0000
committerphk <phk@FreeBSD.org>2003-05-31 19:38:43 +0000
commit30aa5fffc74634d452288805ebc0be032be9dec3 (patch)
treeb40aed4c07429474e82a5c6e7657bb707bcee8a7
parent5ddad2e884c0cef1f7de0e31c9dc139f776155dc (diff)
downloadFreeBSD-src-30aa5fffc74634d452288805ebc0be032be9dec3.zip
FreeBSD-src-30aa5fffc74634d452288805ebc0be032be9dec3.tar.gz
Don't define memcpy() to bcopy() and in particular not memset() to
bzero() when we have them all already. Found by: FlexeLint
-rw-r--r--sys/dev/usb/usb_port.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 1894b9a..e5c7bbe 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) \
OpenPOWER on IntegriCloud