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 bacb2f1df81eb470f16cead23bd545c3585f90ed..33f7cfea53ae183240790e072a5cb465003a6315 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 4098f7c058882a0907596daa2834917e164277d0..2330742af5822947f08ab2b9c3d37d4abe10a3eb 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