Skip to content

Commit 4c8ba6a

Browse files
kraxelmergify[bot]
authored andcommitted
OvmfPkg/QemuFwCfgLib: do not log cache lookups
Logging each and every successful cache lookup is not very useful and floods the log. The much better approach is to log everything which gets added to the cache, so the logfile can tell you what is in the cache with /much/ less log lines. The cache initialization code already does that. So drop the lookup message without any replacement. Signed-off-by: Gerd Hoffmann <[email protected]>
1 parent 5ac93b2 commit 4c8ba6a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgCache.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,5 @@ InternalQemuFwCfgCacheReadBytes (
171171
CopyMem (Buffer, (UINT8 *)CachedItem + sizeof (FW_CFG_CACHED_ITEM) + QemuFwCfgWorkArea->Offset, ReadSize);
172172
QemuFwCfgWorkArea->Offset += (UINT32)ReadSize;
173173

174-
DEBUG ((DEBUG_VERBOSE, "%a: found Item 0x%x in FwCfg Cache\n", __func__, QemuFwCfgWorkArea->FwCfgItem));
175174
return RETURN_SUCCESS;
176175
}

0 commit comments

Comments
 (0)