legacy: Commonize discard_max_bytes
The discard_max_bytes rule is also valid for sdm710 so commonize it.
Change-Id: Iceb2571ed9726131a74dd60555e1b474b6412c60
diff --git a/legacy/vendor/common/file_contexts b/legacy/vendor/common/file_contexts
index c232c96..e8e4fed 100644
--- a/legacy/vendor/common/file_contexts
+++ b/legacy/vendor/common/file_contexts
@@ -748,3 +748,6 @@
#Thermal HAL
/vendor/bin/hw/android.hardware.thermal@2.0-service.qti u:object_r:hal_thermal_default_exec:s0
/vendor/bin/hw/vendor.qti.hardware.limits@1.0-service u:object_r:vendor_hal_limits_qti_exec:s0
+
+# MMC
+/sys/devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_max_bytes u:object_r:sysfs_mmc_host:s0
diff --git a/legacy/vendor/sdm845/file_contexts b/legacy/vendor/sdm845/file_contexts
index 7b83d9b..c779468 100644
--- a/legacy/vendor/sdm845/file_contexts
+++ b/legacy/vendor/sdm845/file_contexts
@@ -103,5 +103,3 @@
/vendor/lib(64)?/hw/gralloc\.sdm845\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/hw/vulkan\.sdm845\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/bin/sscrpcd u:object_r:sensors_exec:s0
-
-/sys/devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_max_bytes u:object_r:sysfs_mmc_host:s0