git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libata-sff: clean up BMDMA initialization
[safe/jmp/linux-2.6]
/
drivers
/
ata
/
pdc_adma.c
diff --git
a/drivers/ata/pdc_adma.c
b/drivers/ata/pdc_adma.c
index
ed18d8b
..
bb4f838
100644
(file)
--- a/
drivers/ata/pdc_adma.c
+++ b/
drivers/ata/pdc_adma.c
@@
-556,11
+556,7
@@
static int adma_port_start(struct ata_port *ap)
{
struct device *dev = ap->host->dev;
struct adma_port_priv *pp;
- int rc;
- rc = ata_port_start(ap);
- if (rc)
- return rc;
adma_enter_reg_mode(ap);
pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL);
if (!pp)