summaryrefslogtreecommitdiffstats
path: root/lib/libusb/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libusb/data.c')
-rw-r--r--lib/libusb/data.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libusb/data.c b/lib/libusb/data.c
index 26b33b3..c850ba8 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 */
OpenPOWER on IntegriCloud