projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90abb28
)
dm: sata: dw_sata: Drop is_ready
author
Simon Glass
<sjg@chromium.org>
Sat, 29 Jul 2017 17:35:10 +0000
(11:35 -0600)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000
(16:44 +0900)
This variable is set but never used. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/ata/dwc_ahsata.c
patch
|
blob
|
history
diff --git
a/drivers/ata/dwc_ahsata.c
b/drivers/ata/dwc_ahsata.c
index 8056bc94a3c5f2fc5b73163c3397d3e494c61d4a..4b89a8b78873dd01f1b48d69294fd45910c7360a 100644
(file)
--- a/
drivers/ata/dwc_ahsata.c
+++ b/
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;
}