root/trunk/patches/2.6.22/02-remove-unused-var-pata_ixp4xx_cf.patch

Revision 851, 0.7 KB (checked in by blaster8, 3 years ago)

Update SVN to 2.6.22-rc3 with new patches

  • drivers/ata/pata_ixp4xx_cf.c

    The 'rc' variable is unused according to GCC. Remove it.
    
    Signed-off-by: Michael-Luke Jones
    
    old new  
    178178        struct ata_host *host; 
    179179        struct ata_port *ap; 
    180180        struct ixp4xx_pata_data *data = pdev->dev.platform_data; 
    181         int rc; 
    182181 
    183182        cs0 = platform_get_resource(pdev, IORESOURCE_MEM, 0); 
    184183        cs1 = platform_get_resource(pdev, IORESOURCE_MEM, 1); 
Note: See TracBrowser for help on using the browser.