diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-07 08:15:19 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-07 08:15:19 +0000 |
| commit | 96102cae1aadfdceacc38bbfaa886ac799fef7ae (patch) | |
| tree | 594c4fb2dc74bb286d06c28b6b7a16d3d76115b4 /lib/libusb/data.c | |
| parent | ad59157a75d7ca934cc43970c237e6a92bf2ba2f (diff) | |
Notes
Diffstat (limited to 'lib/libusb/data.c')
| -rw-r--r-- | lib/libusb/data.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libusb/data.c b/lib/libusb/data.c index 26b33b39b9cc..c850ba84f016 100644 --- a/lib/libusb/data.c +++ b/lib/libusb/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 */ |
