Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ba35fbe authored by Philipp Zabel's avatar Philipp Zabel Committed by Russell King
Browse files

[ARM] 5043/1: pxafb: remove unused mode variable in pxafb_init_fbinfo

parent e1428483
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1351,7 +1351,6 @@ static struct pxafb_info * __init pxafb_init_fbinfo(struct device *dev)
	struct pxafb_info *fbi;
	struct pxafb_info *fbi;
	void *addr;
	void *addr;
	struct pxafb_mach_info *inf = dev->platform_data;
	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 */
	/* Alloc the pxafb_info and pseudo_palette in one step */
	fbi = kmalloc(sizeof(struct pxafb_info) + sizeof(u32) * 16, GFP_KERNEL);
	fbi = kmalloc(sizeof(struct pxafb_info) + sizeof(u32) * 16, GFP_KERNEL);