summaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-22 17:45:03 +0700
committerhathach <[email protected]>2013-03-22 17:45:03 +0700
commit6b276d09bffb8f544a54aab717eac904bd34c5b2 (patch)
tree1e675c950b6dbca451b7af1bf676318c5d6959f6 /tests/test
parent45c94c2aa9ace7b2efdc5dcad97c0d5b2283715a (diff)
house keeping for pipe API test code
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/host/ehci/test_pipe_bulk_open.c4
-rw-r--r--tests/test/host/ehci/test_pipe_bulk_xfer.c1
-rw-r--r--tests/test/host/ehci/test_pipe_control_open.c4
-rw-r--r--tests/test/host/ehci/test_pipe_control_xfer.c1
-rw-r--r--tests/test/host/ehci/test_pipe_interrupt_open.c4
-rw-r--r--tests/test/host/ehci/test_pipe_isochronous_open.c4
6 files changed, 0 insertions, 18 deletions
diff --git a/tests/test/host/ehci/test_pipe_bulk_open.c b/tests/test/host/ehci/test_pipe_bulk_open.c
index 250a84c25..b6c11d76e 100644
--- a/tests/test/host/ehci/test_pipe_bulk_open.c
+++ b/tests/test/host/ehci/test_pipe_bulk_open.c
@@ -61,11 +61,7 @@ ehci_qhd_t *async_head;
//--------------------------------------------------------------------+
void setUp(void)
{
- memclr_(&lpc_usb0, sizeof(LPC_USB0_Type));
- memclr_(&lpc_usb1, sizeof(LPC_USB1_Type));
-
memclr_(usbh_device_info_pool, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
- memclr_(&ehci_data, sizeof(ehci_data_t));
hcd_init();
diff --git a/tests/test/host/ehci/test_pipe_bulk_xfer.c b/tests/test/host/ehci/test_pipe_bulk_xfer.c
index 1f6221abf..327dbdfc4 100644
--- a/tests/test/host/ehci/test_pipe_bulk_xfer.c
+++ b/tests/test/host/ehci/test_pipe_bulk_xfer.c
@@ -80,7 +80,6 @@ void setUp(void)
memclr_(&lpc_usb1, sizeof(LPC_USB1_Type));
memclr_(usbh_device_info_pool, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
- memclr_(&ehci_data, sizeof(ehci_data_t));
memclr_(xfer_data, sizeof(xfer_data));
hcd_init();
diff --git a/tests/test/host/ehci/test_pipe_control_open.c b/tests/test/host/ehci/test_pipe_control_open.c
index 815c3c81a..27df5673b 100644
--- a/tests/test/host/ehci/test_pipe_control_open.c
+++ b/tests/test/host/ehci/test_pipe_control_open.c
@@ -63,11 +63,7 @@ ehci_qhd_t *p_control_qhd;
//--------------------------------------------------------------------+
void setUp(void)
{
- memclr_(&lpc_usb0, sizeof(LPC_USB0_Type));
- memclr_(&lpc_usb1, sizeof(LPC_USB1_Type));
-
memclr_(usbh_device_info_pool, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
- memclr_(&ehci_data, sizeof(ehci_data_t));
hcd_init();
diff --git a/tests/test/host/ehci/test_pipe_control_xfer.c b/tests/test/host/ehci/test_pipe_control_xfer.c
index 666637f84..583a6d313 100644
--- a/tests/test/host/ehci/test_pipe_control_xfer.c
+++ b/tests/test/host/ehci/test_pipe_control_xfer.c
@@ -81,7 +81,6 @@ void setUp(void)
memclr_(&lpc_usb1, sizeof(LPC_USB1_Type));
memclr_(usbh_device_info_pool, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
- memclr_(&ehci_data, sizeof(ehci_data_t));
memclr_(xfer_data, sizeof(xfer_data));
hcd_init();
diff --git a/tests/test/host/ehci/test_pipe_interrupt_open.c b/tests/test/host/ehci/test_pipe_interrupt_open.c
index eb8734464..62da7d7b3 100644
--- a/tests/test/host/ehci/test_pipe_interrupt_open.c
+++ b/tests/test/host/ehci/test_pipe_interrupt_open.c
@@ -61,11 +61,7 @@ ehci_qhd_t *period_head;
//--------------------------------------------------------------------+
void setUp(void)
{
- memclr_(&lpc_usb0, sizeof(LPC_USB0_Type));
- memclr_(&lpc_usb1, sizeof(LPC_USB1_Type));
-
memclr_(usbh_device_info_pool, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
- memclr_(&ehci_data, sizeof(ehci_data_t));
hcd_init();
diff --git a/tests/test/host/ehci/test_pipe_isochronous_open.c b/tests/test/host/ehci/test_pipe_isochronous_open.c
index d9b739d52..1b075224d 100644
--- a/tests/test/host/ehci/test_pipe_isochronous_open.c
+++ b/tests/test/host/ehci/test_pipe_isochronous_open.c
@@ -60,11 +60,7 @@ ehci_qhd_t *period_head;
//--------------------------------------------------------------------+
void setUp(void)
{
- memclr_(&lpc_usb0, sizeof(LPC_USB0_Type));
- memclr_(&lpc_usb1, sizeof(LPC_USB1_Type));
-
memclr_(usbh_device_info_pool, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
- memclr_(&ehci_data, sizeof(ehci_data_t));
hcd_init();