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: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
Oded Gabbay 2020-10-28 21:05:20 +02:00
Родитель 649c459212
Коммит 66bfcccdb8
2 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -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:

Просмотреть файл

@ -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: