The lynx_share field in lynx_cursor structure is never used and can be
removed.
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        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;
 
        int offset;
        /* mmio addr of hw cursor */
        volatile char __iomem *mmio;
-       /* the lynx_share of this adaptor */
-       struct lynx_share *share;
 };
 
 struct lynxfb_crtc {