[PATCH] habanalabs: remove duplicate print
From: Oded Gabbay
Date: Wed Nov 04 2020 - 09:10:25 EST
We print twice the firmware status regarding security, once in
common code and once in asic code. Remove the print in asic code
and leave the common code print.
Signed-off-by: Oded Gabbay <ogabbay@xxxxxxxxxx>
---
drivers/misc/habanalabs/gaudi/gaudi.c | 3 ---
drivers/misc/habanalabs/goya/goya.c | 3 ---
2 files changed, 6 deletions(-)
diff --git a/drivers/misc/habanalabs/gaudi/gaudi.c b/drivers/misc/habanalabs/gaudi/gaudi.c
index 8abe46b8d615..ae4f3669261d 100644
--- a/drivers/misc/habanalabs/gaudi/gaudi.c
+++ b/drivers/misc/habanalabs/gaudi/gaudi.c
@@ -647,9 +647,6 @@ static int gaudi_early_init(struct hl_device *hdev)
if (rc)
goto free_queue_props;
- dev_info(hdev->dev, "firmware-level security is %s\n",
- hdev->asic_prop.fw_security_disabled ? "disabled" : "enabled");
-
return 0;
free_queue_props:
diff --git a/drivers/misc/habanalabs/goya/goya.c b/drivers/misc/habanalabs/goya/goya.c
index 6dea52a50be4..99f536f8a649 100644
--- a/drivers/misc/habanalabs/goya/goya.c
+++ b/drivers/misc/habanalabs/goya/goya.c
@@ -615,9 +615,6 @@ static int goya_early_init(struct hl_device *hdev)
"PCI strap is not configured correctly, PCI bus errors may occur\n");
}
- dev_info(hdev->dev, "firmware-level security is %s\n",
- hdev->asic_prop.fw_security_disabled ? "disabled" : "enabled");
-
return 0;
free_queue_props:
--
2.17.1