habanalabs: remove duplicate print
authorOded Gabbay <ogabbay@kernel.org>
Wed, 28 Oct 2020 19:05:20 +0000 (21:05 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 30 Nov 2020 08:47:33 +0000 (10:47 +0200)
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@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c

index 6aa3e38..18c7da9 100644 (file)
@@ -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:
index a0580b8..d7ceda7 100644 (file)
@@ -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: