tests: usb: General cleanup
Remove unneeded headers and cleanups. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
f86aa39ee1
commit
484aeb3351
3 changed files with 3 additions and 7 deletions
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
|
||||
|
@ -13,9 +12,8 @@
|
|||
#include <usb/usb_common.h>
|
||||
#include <usb_descriptor.h>
|
||||
|
||||
#define LOG_LEVEL LOG_LEVEL_DBG
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(test_main);
|
||||
LOG_MODULE_REGISTER(test_main, LOG_LEVEL_DBG);
|
||||
|
||||
#ifdef CONFIG_USB_COMPOSITE_DEVICE
|
||||
#error Do not use composite configuration
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
|
||||
|
@ -187,7 +186,7 @@ static void test_usb_dc_api_read_write(void)
|
|||
TC_PASS, "usb_write(INVALID_EP)");
|
||||
}
|
||||
|
||||
/*test case main entry*/
|
||||
/* test case main entry */
|
||||
void test_main(void)
|
||||
{
|
||||
int ret;
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
|
||||
|
@ -140,7 +139,7 @@ static void test_osdesc_feature(void)
|
|||
test_handle_os_desc_feature();
|
||||
}
|
||||
|
||||
/*test case main entry*/
|
||||
/* test case main entry */
|
||||
void test_main(void)
|
||||
{
|
||||
ztest_test_suite(test_osdesc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue