Commit 66bfcccd authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: remove duplicate print



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: default avatarOded Gabbay <ogabbay@kernel.org>
parent 649c4592
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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:
+0 −3
Original line number Diff line number Diff line
@@ -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: