Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8617b7f authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

hal: spk_prot: fix KW error in spk protection module

Remove unnecessary call to fclose which is already closed
and is redundant.

Change-Id: Ib73e5abf4cc60b5439733054d06c3dc1613f9d51
parent f22706d0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -779,7 +779,6 @@ static void* spkr_calibration_thread()
                                                __func__, NUM_ATTEMPTS);
                       t0_spk_1 = SAFE_SPKR_TEMP_Q6;
                   }
                   fclose(fp);
               }
               if (spk_2_tzn > 0) {
                   snprintf(wsa_path, MAX_PATH, TZ_WSA, spk_2_tzn);
@@ -810,7 +809,6 @@ static void* spkr_calibration_thread()
                                                __func__, NUM_ATTEMPTS);
                       t0_spk_2 = SAFE_SPKR_TEMP_Q6;
                   }
                   fclose(fp);
               }
           }
           pthread_mutex_unlock(&adev->lock);