habanalabs: remove redundant info print
authorOded Gabbay <ogabbay@kernel.org>
Wed, 30 Mar 2022 06:16:16 +0000 (09:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 May 2022 19:01:17 +0000 (21:01 +0200)
Halting compute engines is a print that doesn't add us any information
because it is always done in the reset process and not used elsewhere.

Even if it was, we don't use prints to mark functions we passed
through.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c

index bacb2f1..33f7cfe 100644 (file)
@@ -3795,9 +3795,6 @@ static void gaudi_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_
 {
        u32 wait_timeout_ms;
 
-       dev_info(hdev->dev,
-               "Halting compute engines and disabling interrupts\n");
-
        if (hdev->pldm)
                wait_timeout_ms = GAUDI_PLDM_RESET_WAIT_MSEC;
        else
index 4098f7c..2330742 100644 (file)
@@ -2482,9 +2482,6 @@ static void goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_r
 {
        u32 wait_timeout_ms;
 
-       dev_info(hdev->dev,
-               "Halting compute engines and disabling interrupts\n");
-
        if (hdev->pldm)
                wait_timeout_ms = GOYA_PLDM_RESET_WAIT_MSEC;
        else