diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-10 15:37:05 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-10 15:37:05 +0000 |
| commit | d05cd64b43869d6236b19872ed698b17d7e0576e (patch) | |
| tree | 31e4866a946ffdb6c91c2ca43106c20231f7adbe /lib/libusb/data.c | |
| parent | 1083e477fefeb2ec0f685367aba5ca11d9ac6b7e (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 */ |
