libhwc2.1: Remove unnecessary crop size restriction

Bug: 151994209

Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com>
Change-Id: I0ec2e98a064e0b68902a4268d4206a65b7cec35c
diff --git a/libhwc2.1/libresource/ExynosMPPModule.cpp b/libhwc2.1/libresource/ExynosMPPModule.cpp
index b865167..519e084 100644
--- a/libhwc2.1/libresource/ExynosMPPModule.cpp
+++ b/libhwc2.1/libresource/ExynosMPPModule.cpp
@@ -35,12 +35,3 @@
     uint32_t idx = getRestrictionClassification(src);
     return mSrcSizeRestrictions[idx].cropXAlign;
 }
-
-uint32_t ExynosMPPModule::getSrcMaxCropSize(struct exynos_image &src)
-{
-    if ((mPhysicalType == MPP_DPP_VGRFS) &&
-        (src.transform & HAL_TRANSFORM_ROT_90))
-        return MAX_DPP_ROT_SRC_SIZE;
-    else
-        return ExynosMPP::getSrcMaxCropSize(src);
-}
diff --git a/libhwc2.1/libresource/ExynosMPPModule.h b/libhwc2.1/libresource/ExynosMPPModule.h
index 5f41503..1f12fe9 100644
--- a/libhwc2.1/libresource/ExynosMPPModule.h
+++ b/libhwc2.1/libresource/ExynosMPPModule.h
@@ -26,7 +26,6 @@
             uint32_t physicalIndex, uint32_t logicalIndex, uint32_t preAssignInfo);
         ~ExynosMPPModule();
         virtual uint32_t getSrcXOffsetAlign(struct exynos_image &src);
-        virtual uint32_t getSrcMaxCropSize(struct exynos_image &src);
     public:
         uint32_t mChipId;
 };