plugins/amdgpu: remove excessive debug messages

These pr_info lines begin with "CC3" and "TWI" were not meant to be
included in the patch.

Co-authored-by: Andrei Vagin <avagin@google.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
David Francis 2025-11-02 07:26:44 -08:00 committed by Andrei Vagin
parent 9e404e2083
commit ff35a9126e
4 changed files with 8 additions and 29 deletions

View file

@ -48,6 +48,7 @@
#include "image.h"
#include "cr_options.h"
#include "util.h"
struct vma_metadata {
struct list_head list;
uint64_t old_pgoff;
@ -327,8 +328,6 @@ void getenv_size_t(const char *var, size_t *value)
int sh = 0;
size_t size;
pr_info("Value str: %s\n", value_str);
if (value_str) {
size = (size_t)strtoul(value_str, &endp, 0);
if (errno || value_str == endp) {
@ -1132,7 +1131,6 @@ int amdgpu_restore_init(void)
if (d) {
while ((dir = readdir(d)) != NULL) {
if (strncmp("amdgpu-kfd-", dir->d_name, strlen("amdgpu-kfd-")) == 0) {
pr_info("CC3: Found kfd file\n");
img_fp = open_img_file(dir->d_name, false, &img_size);
buf = xmalloc(img_size);
if (!buf) {
@ -1155,7 +1153,6 @@ int amdgpu_restore_init(void)
xfree(buf);
}
if (strncmp("amdgpu-renderD-", dir->d_name, strlen("amdgpu-renderD-")) == 0) {
pr_info("CC3: Found drm file\n");
img_fp = open_img_file(dir->d_name, false, &img_size);
buf = xmalloc(img_size);
if (!buf) {