remove unused variable in pata_isapnp
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Tue, 5 Jun 2007 13:33:29 +0000 (22:33 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 10 Jun 2007 02:40:27 +0000 (22:40 -0400)
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>
drivers/ata/pata_isapnp.c

index 1f647b648204fffa172d761677f43bb0367572c3..5525518204e65dc07850f2283f8a5e1b775a9703 100644 (file)
@@ -77,7 +77,6 @@ static int isapnp_init_one(struct pnp_dev *idev, const struct pnp_device_id *dev
        struct ata_host *host;
        struct ata_port *ap;
        void __iomem *cmd_addr, *ctl_addr;
-       int rc;
 
        if (pnp_port_valid(idev, 0) == 0)
                return -ENODEV;