From ea7a3015a2404e1358218463dd25df5ae7615352 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Tue, 27 Jun 2023 13:14:06 +0200 Subject: OvmfPkg/VirtioSerialDxe: Remove noisy debug print on supported() call The UEFI driver model invokes the supported() method on every driver every time a connection attempt is made on any handle, and so doing an unconditional DEBUG() print inside this method produced a lot of noise. So let's drop this DEBUG() call from the VirtioSerial driver's Supported() method. Signed-off-by: Ard Biesheuvel Acked-by: Gerd Hoffmann --- OvmfPkg/VirtioSerialDxe/VirtioSerial.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c b/OvmfPkg/VirtioSerialDxe/VirtioSerial.c index df545c080e..fd34ad75a9 100644 --- a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c +++ b/OvmfPkg/VirtioSerialDxe/VirtioSerial.c @@ -510,8 +510,6 @@ VirtioSerialDriverBindingSupported ( Status = EFI_UNSUPPORTED; } - DEBUG ((DEBUG_INFO, "%a:%d: subsystem %d -> %r\n", __func__, __LINE__, VirtIo->SubSystemDeviceId, Status)); - // // We needed VirtIo access only transitorily, to see whether we support the // device or not. -- cgit