summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-09-11 10:12:31 -0600
committerKarthik Ramasubramanian <kramasub@google.com>2020-09-11 19:51:54 +0000
commitaa03f30e6ecd999cff5b0ad0f166d2ed7471b62b (patch)
treea5e8fd7c06f299d8cb86f93f1b134952aa25801f
parent8e1ea525d1ea25634db37bf93690e1479a1d748e (diff)
downloadcoreboot-aa03f30e6ecd999cff5b0ad0f166d2ed7471b62b.tar.xz
mb/google/dedede/var/drawcia: Remove debug statement with NULL pointer
The debug statement to print WiFi SAR file can potentially have a NULL pointer. Also the debug statement does not add much value. Hence remove the debug statement. BUG=b:165613510 TEST=Build and boot the drawcia board to OS. Change-Id: I710240f5e965f523fb8ac55a67880e1cbf9abd48 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45298 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/mainboard/google/dedede/variants/drawcia/variant.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/variant.c b/src/mainboard/google/dedede/variants/drawcia/variant.c
index 5c969a6576..88e9de7eb9 100644
--- a/src/mainboard/google/dedede/variants/drawcia/variant.c
+++ b/src/mainboard/google/dedede/variants/drawcia/variant.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootstate.h>
-#include <console/console.h>
#include <fw_config.h>
#include <sar.h>
@@ -12,6 +11,5 @@ const char *get_wifi_sar_cbfs_filename(void)
if (fw_config_probe(FW_CONFIG(TABLETMODE, TABLETMODE_ENABLED)))
filename = "wifi_sar-drawcia.hex";
- printk(BIOS_INFO, "SAR file name: %s\n", filename);
return filename;
}