aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/usb-hcd-uhci-test.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-09-07 16:39:42 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-08 13:08:52 +0300
commit0084f6834a13aedaf4375fa34161c2f6ff0aeaa8 (patch)
tree2760a900a8adb82be8c7790677266565de573416 /tests/qtest/usb-hcd-uhci-test.c
parent95eac43cb5f88afa7610470685bc5d25b301bd4d (diff)
downloadqemu-0084f6834a13aedaf4375fa34161c2f6ff0aeaa8.zip
qemu-0084f6834a13aedaf4375fa34161c2f6ff0aeaa8.tar.gz
qemu-0084f6834a13aedaf4375fa34161c2f6ff0aeaa8.tar.bz2
tests/qtest/usb-hcd: Remove the empty "init" tests
These tests do nothing additional compared to the other test, so let's remove the empty functions to avoid wasting some few precious test cycles here. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests/qtest/usb-hcd-uhci-test.c')
-rw-r--r--tests/qtest/usb-hcd-uhci-test.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/qtest/usb-hcd-uhci-test.c b/tests/qtest/usb-hcd-uhci-test.c
index 28751f5..4446555 100644
--- a/tests/qtest/usb-hcd-uhci-test.c
+++ b/tests/qtest/usb-hcd-uhci-test.c
@@ -17,10 +17,6 @@
static QOSState *qs;
-static void test_uhci_init(void)
-{
-}
-
static void test_port(int port)
{
struct qhc uhci;
@@ -71,7 +67,6 @@ int main(int argc, char **argv)
return 0;
}
- qtest_add_func("/uhci/pci/init", test_uhci_init);
qtest_add_func("/uhci/pci/port1", test_port_1);
qtest_add_func("/uhci/pci/hotplug", test_uhci_hotplug);
if (qtest_has_device("usb-storage")) {