Re: [PATCH v4 1/3] mmc: core: Remove some redundant validations in mmc_erase() function

2016-09-06 Thread Baolin Wang
On 6 September 2016 at 20:17, Ulf Hansson wrote: > On 6 September 2016 at 04:55, Baolin Wang wrote: >> Before issuing mmc_erase() function, users always have checked if it can >> erase with mmc_can_erase/trim/discard() function, thus remove the

Re: [PATCH v4 1/3] mmc: core: Remove some redundant validations in mmc_erase() function

2016-09-06 Thread Baolin Wang
On 6 September 2016 at 20:17, Ulf Hansson wrote: > On 6 September 2016 at 04:55, Baolin Wang wrote: >> Before issuing mmc_erase() function, users always have checked if it can >> erase with mmc_can_erase/trim/discard() function, thus remove the redundant >> erase checking in mmc_erase()

Re: [PATCH v4 1/3] mmc: core: Remove some redundant validations in mmc_erase() function

2016-09-06 Thread Ulf Hansson
On 6 September 2016 at 04:55, Baolin Wang wrote: > Before issuing mmc_erase() function, users always have checked if it can > erase with mmc_can_erase/trim/discard() function, thus remove the redundant > erase checking in mmc_erase() function. > > Signed-off-by: Baolin

Re: [PATCH v4 1/3] mmc: core: Remove some redundant validations in mmc_erase() function

2016-09-06 Thread Ulf Hansson
On 6 September 2016 at 04:55, Baolin Wang wrote: > Before issuing mmc_erase() function, users always have checked if it can > erase with mmc_can_erase/trim/discard() function, thus remove the redundant > erase checking in mmc_erase() function. > > Signed-off-by: Baolin Wang > Tested-by: Shawn

[PATCH v4 1/3] mmc: core: Remove some redundant validations in mmc_erase() function

2016-09-05 Thread Baolin Wang
Before issuing mmc_erase() function, users always have checked if it can erase with mmc_can_erase/trim/discard() function, thus remove the redundant erase checking in mmc_erase() function. Signed-off-by: Baolin Wang Tested-by: Shawn Lin ---

[PATCH v4 1/3] mmc: core: Remove some redundant validations in mmc_erase() function

2016-09-05 Thread Baolin Wang
Before issuing mmc_erase() function, users always have checked if it can erase with mmc_can_erase/trim/discard() function, thus remove the redundant erase checking in mmc_erase() function. Signed-off-by: Baolin Wang Tested-by: Shawn Lin --- Changes since v3: - Split into 3 separate patches. -