aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_isapnp.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-06-05 09:33:29 -0400
committerJeff Garzik <jeff@garzik.org>2007-06-09 22:40:27 -0400
commitc3a44a47e8f60e8e4ae58d3a024b9a7ab293e673 (patch)
tree714596755e20613fbb1c0d53e27369bcec6fef59 /drivers/ata/pata_isapnp.c
parent845a2fdcbd5bc5b9f652201ee95c825827a1d521 (diff)
remove unused variable in pata_isapnp
This patch has removed unused variable in pata_ispnp. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_isapnp.c')
-rw-r--r--drivers/ata/pata_isapnp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_isapnp.c b/drivers/ata/pata_isapnp.c
index 1f647b648204..5525518204e6 100644
--- a/drivers/ata/pata_isapnp.c
+++ b/drivers/ata/pata_isapnp.c
@@ -77,7 +77,6 @@ static int isapnp_init_one(struct pnp_dev *idev, const struct pnp_device_id *dev
77 struct ata_host *host; 77 struct ata_host *host;
78 struct ata_port *ap; 78 struct ata_port *ap;
79 void __iomem *cmd_addr, *ctl_addr; 79 void __iomem *cmd_addr, *ctl_addr;
80 int rc;
81 80
82 if (pnp_port_valid(idev, 0) == 0) 81 if (pnp_port_valid(idev, 0) == 0)
83 return -ENODEV; 82 return -ENODEV;