Re: [PATCH RESEND v3 3/6] AHCI: Make few function names more descriptive

From: Tejun Heo
Date: Tue Sep 23 2014 - 16:22:40 EST


On Sun, Sep 21, 2014 at 03:19:26PM +0200, Alexander Gordeev wrote:
> Signed-off-by: Alexander Gordeev <agordeev@xxxxxxxxxx>
> Cc: linux-ide@xxxxxxxxxxxxxxx
> ---
> drivers/ata/ahci.c | 7 +++----
> drivers/ata/ahci.h | 6 +++---
> drivers/ata/libahci.c | 16 ++++++++--------
> 3 files changed, 14 insertions(+), 15 deletions(-)
>
> diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
> index 7ce8e01..4a849f8 100644
> --- a/drivers/ata/ahci.c
> +++ b/drivers/ata/ahci.c
...
> @@ -1305,9 +1305,8 @@ int ahci_host_activate(struct ata_host *host, int irq,
> if (hpriv->flags & AHCI_HFLAG_MULTI_MSI)
> rc = ahci_host_activate_multi_irqs(host, irq, sht);
> else
> - rc = ata_host_activate(host, irq, ahci_interrupt,
> + rc = ata_host_activate(host, irq, ahci_single_irq_intr,
> IRQF_SHARED, sht);
> - return rc;

Hmmm... why is return removed here?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/