hardware: samsung_slsi: libcamera2: Remove HACK used for frame sync

Remove hack code used before frame sync is enabled.
With this patch, v4l2 error msg when zsl is enabled
will be removed also.

Change-Id: I34c38d7f3d29b1fb66f41f90afd377cf7308f238
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
diff --git a/libcamera2/ExynosCameraHWInterface2.cpp b/libcamera2/ExynosCameraHWInterface2.cpp
index 6ec072b..605798e 100644
--- a/libcamera2/ExynosCameraHWInterface2.cpp
+++ b/libcamera2/ExynosCameraHWInterface2.cpp
@@ -3426,7 +3426,6 @@
         camera2_stream *frame;
 #endif
         int numOfUndqbuf = 0;
-        bool again = false;
 
         ALOGV("(%s): streamthread[%d] START SIGNAL_STREAM_DATA_COMING", __FUNCTION__,selfThread->m_index);
 
@@ -3504,21 +3503,8 @@
                 selfStreamParms->svcBufStatus[selfStreamParms->bufIndex] = ON_HAL;
             }
 
-            // HACK
-//            if (again == false && !(m_recordOutput && m_recordingEnabled)) {
-            if (again == false) {
-                if (exynos_v4l2_g_ctrl(currentNode->fd, V4L2_CID_IS_G_COMPLETES, &numOfUndqbuf)) {
-                    CAM_LOGW("WARN(%s): Fail to get Scaler completes, val = %d, fd=%d", __FUNCTION__, numOfUndqbuf, currentNode->fd);
-                } else {
-                    again = (numOfUndqbuf > 0)?true:false;
-                    if (again)
-                        CAM_LOGW("WARN(%s): Drain Scaler buf, num of undqbuf = %d", __FUNCTION__, numOfUndqbuf);
-                }
-            } else {
-                again = false;
-            }
         }
-        while(again);
+        while(0);
 
         while (selfStreamParms->numSvcBufsInHal < selfStreamParms->numOwnSvcBuffers - 1) {
             res = selfStreamParms->streamOps->dequeue_buffer(selfStreamParms->streamOps, &buf);