diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-07-07 08:15:19 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-07-07 08:15:19 +0000 |
commit | 7b59eeb53d28ebccd6fc99bcd16962a1ee301e5c (patch) | |
tree | 9043703a72b22281ea8d68168fbdff628eb8a334 /lib/libusbhid/data.c | |
parent | 9520faa8177063b9de5888cad6ec4a55a03f0a1c (diff) | |
download | FreeBSD-src-7b59eeb53d28ebccd6fc99bcd16962a1ee301e5c.zip FreeBSD-src-7b59eeb53d28ebccd6fc99bcd16962a1ee301e5c.tar.gz |
Remove DIAGASSERT
Diffstat (limited to 'lib/libusbhid/data.c')
-rw-r--r-- | lib/libusbhid/data.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libusbhid/data.c b/lib/libusbhid/data.c index 26b33b3..c850ba8 100644 --- a/lib/libusbhid/data.c +++ b/lib/libusbhid/data.c @@ -41,9 +41,6 @@ hid_get_data(const void *p, const hid_item_t *h) int data; int i, end, offs; - _DIAGASSERT(p != NULL); - _DIAGASSERT(h != NULL); - buf = p; hpos = h->pos; /* bit position of data */ hsize = h->report_size; /* bit length of data */ @@ -73,9 +70,6 @@ hid_set_data(void *p, const hid_item_t *h, int data) unsigned int hsize; int i, end, offs, mask; - _DIAGASSERT(p != NULL); - _DIAGASSERT(h != NULL); - buf = p; hpos = h->pos; /* bit position of data */ hsize = h->report_size; /* bit length of data */ |