]> err.no Git - linux-2.6/commitdiff
[ARM] 5043/1: pxafb: remove unused mode variable in pxafb_init_fbinfo
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 22 May 2008 09:19:28 +0000 (10:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 May 2008 13:10:38 +0000 (14:10 +0100)
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/pxafb.c

index 3ee314beacc1a7c6be88fc854ca4b0b69aff4c91..274bc93ab7d8497fe604ca9043498da3e5cdd52a 100644 (file)
@@ -1351,7 +1351,6 @@ static struct pxafb_info * __init pxafb_init_fbinfo(struct device *dev)
        struct pxafb_info *fbi;
        void *addr;
        struct pxafb_mach_info *inf = dev->platform_data;
-       struct pxafb_mode_info *mode = inf->modes;
 
        /* Alloc the pxafb_info and pseudo_palette in one step */
        fbi = kmalloc(sizeof(struct pxafb_info) + sizeof(u32) * 16, GFP_KERNEL);