From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web11.10434.1687864645056383284 for ; Tue, 27 Jun 2023 04:17:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=co5mEod7; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6831261117; Tue, 27 Jun 2023 11:17:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00A4BC433C8; Tue, 27 Jun 2023 11:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687864643; bh=VsCNAHczZ3sGNSRrmy2ugYMW+ZtWWxMUwgPQJ756mXc=; h=From:To:Cc:Subject:Date:From; b=co5mEod7LQeFE79PkY3PmVodcjtqcYoQawsJamQRiaXdjMriyqGt8LiTNIQYKerBl nD2s5WO4mLVYIgi0+chMNBOirPbozVkLsy4jBNslLk61QUsrQmEmXOU9+lszdJDX/s Szg4pm0KE3kjB7DqeX3MVdBic9CePAHvU7ae3y4FCYconf/ziA+r/QQ4wBAMTdhKTa fcOuo2XNRM/vjA45VwhMwvqFA5AfUk+6ICPMx6myyX541203q+j7sK/GGX06AZht70 pNjhegM26cY0K9NQlbK7wV7BME7V2Z2zMtF1cOicHJg0HniVCxqDb4vkBI/hl2Wdp8 r1JPKUXrZdtNw== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: kraxel@redhat.com, Ard Biesheuvel Subject: [PATCH] OvmfPkg/VirtioSerialDxe: Remove noisy debug print on supported() call Date: Tue, 27 Jun 2023 13:17:16 +0200 Message-Id: <20230627111716.1022950-1-ardb@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- OvmfPkg/VirtioSerialDxe/VirtioSerial.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c b/OvmfPkg/VirtioSerialD= xe/VirtioSerial.c index df545c080e9d9212..fd34ad75a9a079ce 100644 --- a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c +++ b/OvmfPkg/VirtioSerialDxe/VirtioSerial.c @@ -510,8 +510,6 @@ VirtioSerialDriverBindingSupported ( Status =3D EFI_UNSUPPORTED;=0D }=0D =0D - DEBUG ((DEBUG_INFO, "%a:%d: subsystem %d -> %r\n", __func__, __LINE__, V= irtIo->SubSystemDeviceId, Status));=0D -=0D //=0D // We needed VirtIo access only transitorily, to see whether we support = the=0D // device or not.=0D --=20 2.39.2