subsurface: Remove duplicate checks 96/295796/2
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 13 Jul 2023 07:31:47 +0000 (16:31 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 14 Jul 2023 01:35:10 +0000 (01:35 +0000)
commit440278e9d70551296fccab1ab3a5b3c2ee4d4c2f
treee38c97104087ad3727e3a5eaf187da4e5d2f0834
parentc1aa917348298640ecaf28b8c9b0442436a2f293
subsurface: Remove duplicate checks

The validation check for sub-surface can be made in create_subsurface()
and thereby duplication can be removed.

Change-Id: I9326707cd17bba393ad21b775cb5248b3f92f3fa
src/compositor/subcompositor.c
src/compositor/subsurface.c