From: Philipp Zabel Date: Thu, 22 May 2008 09:19:28 +0000 (+0100) Subject: [ARM] 5043/1: pxafb: remove unused mode variable in pxafb_init_fbinfo X-Git-Tag: v2.6.26-rc4~12^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4ba35fbe293be319b1a5d97951e567c0d9527d09;p=linux-2.6-omap-h63xx.git [ARM] 5043/1: pxafb: remove unused mode variable in pxafb_init_fbinfo Signed-off-by: Philipp Zabel Acked-by: Eric Miao Signed-off-by: Russell King --- diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 3ee314beacc..274bc93ab7d 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -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);