From 1e464d209a0b2259dc79f6dfcbe6fddd02702dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E9=B9=8F=E9=A3=9E?= Date: Tue, 9 Sep 2025 07:27:35 +0000 Subject: [PATCH] update display/composer/v1_3/hdi_impl/display_composer_hdi_impl.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 马鹏飞 --- display/composer/v1_3/hdi_impl/display_composer_hdi_impl.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/display/composer/v1_3/hdi_impl/display_composer_hdi_impl.h b/display/composer/v1_3/hdi_impl/display_composer_hdi_impl.h index d0e182ff..1c9b30f1 100644 --- a/display/composer/v1_3/hdi_impl/display_composer_hdi_impl.h +++ b/display/composer/v1_3/hdi_impl/display_composer_hdi_impl.h @@ -116,7 +116,6 @@ public: const BufferHandle* inHandle, const int32_t acquireFence) override { COMPOSER_CHECK_NULLPTR_RETURN(hdi_v1_3_); - COMPOSER_CHECK_NULLPTR_RETURN(inHandle); sptr hdiBuffer = new NativeBuffer(inHandle); COMPOSER_CHECK_NULLPTR_RETURN(hdiBuffer); sptr hdiFence(new HdifdParcelable); @@ -133,8 +132,6 @@ public: if (ret != DISPLAY_SUCCESS) { return ret; } - COMPOSER_CHECK_NULLPTR_RETURN(hdiFence); - releaseFence = hdiFence->Move(); return DISPLAY_SUCCESS; } protected: -- Gitee