mirror of https://gitee.com/openkylin/linux.git
[ARM] 5043/1: pxafb: remove unused mode variable in pxafb_init_fbinfo
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>
This commit is contained in:
parent
e142848300
commit
4ba35fbe29
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue