All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mmc: Drop unnecessary case for mmc_probe()
Date: Fri, 23 Feb 2018 16:01:32 +0900	[thread overview]
Message-ID: <8e9bff2c-c963-7ef4-4ebe-59865dd40fd3@samsung.com> (raw)
In-Reply-To: <41811eba-5344-84de-1056-a7b9025debd1@ti.com>

On 02/19/2018 02:31 PM, Faiz Abbas wrote:
> Hi,
> 
> On Monday 12 February 2018 07:35 PM, Faiz Abbas wrote:
>> Drop the unnecessary empty function case for mmc_probe().
>>
>> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>

Applied to u-boot-mmc.

Best Regards,
Jaehoon Chung

>> ---
>>  drivers/mmc/mmc.c | 7 +------
>>  1 file changed, 1 insertion(+), 6 deletions(-)
>>
>> diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
>> index 255310a..e0b9a42 100644
>> --- a/drivers/mmc/mmc.c
>> +++ b/drivers/mmc/mmc.c
>> @@ -2657,12 +2657,7 @@ void mmc_set_preinit(struct mmc *mmc, int preinit)
>>  	mmc->preinit = preinit;
>>  }
>>  
>> -#if CONFIG_IS_ENABLED(DM_MMC) && defined(CONFIG_SPL_BUILD)
>> -static int mmc_probe(bd_t *bis)
>> -{
>> -	return 0;
>> -}
>> -#elif CONFIG_IS_ENABLED(DM_MMC)
>> +#if CONFIG_IS_ENABLED(DM_MMC)
>>  static int mmc_probe(bd_t *bis)
>>  {
>>  	int ret, i;
>>
> 
> Gentle ping.
> 
> Thanks,
> Faiz
> 
> 
> 

      reply	other threads:[~2018-02-23  7:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 14:05 [U-Boot] [PATCH] mmc: Drop unnecessary case for mmc_probe() Faiz Abbas
2018-02-19  5:31 ` Faiz Abbas
2018-02-23  7:01   ` Jaehoon Chung [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e9bff2c-c963-7ef4-4ebe-59865dd40fd3@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.