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

Commit 8ac97f19 authored by Mike Rapoport's avatar Mike Rapoport Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: remove unused field in lynx_cursor



The lynx_share field in lynx_cursor structure is never used and can be
removed.

Signed-off-by: default avatarMike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 52e93327
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -790,7 +790,6 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index)
	crtc->cursor.size = crtc->cursor.maxH * crtc->cursor.maxW * 2 / 8;
	crtc->cursor.vstart = share->pvMem + crtc->cursor.offset;

	crtc->cursor.share = share;
	memset_io(crtc->cursor.vstart, 0, crtc->cursor.size);
	if (!g_hwcursor) {
		lynxfb_ops.fb_cursor = NULL;
+0 −2
Original line number Diff line number Diff line
@@ -134,8 +134,6 @@ struct lynx_cursor {
	int offset;
	/* mmio addr of hw cursor */
	volatile char __iomem *mmio;
	/* the lynx_share of this adaptor */
	struct lynx_share *share;
};

struct lynxfb_crtc {