tests: usb: General cleanup

Remove unneeded headers and cleanups.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2020-01-03 13:24:12 +02:00 committed by Johan Hedberg
commit 484aeb3351
3 changed files with 3 additions and 7 deletions

View file

@ -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

View file

@ -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;

View file

@ -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,