dm: sata: dw_sata: Drop is_ready

This variable is set but never used. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
master
Simon Glass 7 years ago committed by Jaehoon Chung
parent 90abb28fcf
commit 5908d85eb7
  1. 4
      drivers/ata/dwc_ahsata.c

@ -77,8 +77,6 @@ struct sata_host_regs {
#define writel_with_flush(a, b) do { writel(a, b); readl(b); } while (0)
static int is_ready;
static inline void __iomem *ahci_port_base(void __iomem *base, u32 port)
{
return base + 0x100 + (port * 0x80);
@ -938,7 +936,5 @@ int scan_sata(int dev)
dwc_ahsata_print_info(&sata_dev_desc[dev]);
is_ready = 1;
return 0;
}

Loading…
Cancel
Save