Merge "Revert "platform: msm_shared: Enable purge operation after unmap is done""
diff --git a/platform/msm_shared/ufs.c b/platform/msm_shared/ufs.c
index 0bb7eb5..aa5f90b 100644
--- a/platform/msm_shared/ufs.c
+++ b/platform/msm_shared/ufs.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -167,13 +167,8 @@
if(ret)
{
dprintf(CRITICAL, "UFS erase failed \n");
- return ret;
}
- ret = dme_set_fpurgeenable((struct ufs_dev *)dev);
- if (ret)
- {
- dprintf(CRITICAL, "UFS purge operation failed after erase\n");
- }
+
return ret;
}