diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-10-26 09:06:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 17:04:57 +0900 |
commit | 8ac97f19df35bf5ab663e096279478d4b8e20f6a (patch) | |
tree | cc44f9d89c01535e3705431bc25a14114e7f565d /drivers/staging/sm750fb | |
parent | 52e933278a09777b5c0631951a0a7edd49eb2abc (diff) |
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: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb')
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 1 | ||||
-rw-r--r-- | drivers/staging/sm750fb/sm750.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 8f6908ba6f52..616479e3a7fb 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -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; diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index fbe40a0c2fd4..bd36f22a43ed 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -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 { |