Commit 522f1f63 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Greg Kroah-Hartman

Staging: xgifb: Remove unused spinlock in struct video_info

xgifb framebuffer driver had an option to use an accelerator engine that never
got used (XGIfb_accel was always 0).

An earlier patchset removed the code relevant to the accelerator.
Since this spinlock was used only for that code, it can be deleted as well.
Signed-off-by: default avatarJavier Martinez Canillas <martinez.javier@gmail.com>
Acked-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0089bf1f
#ifndef _LINUX_XGIFB #ifndef _LINUX_XGIFB
#define _LINUX_XGIFB #define _LINUX_XGIFB
#include <linux/spinlock.h>
#include <asm/ioctl.h> #include <asm/ioctl.h>
#include <asm/types.h> #include <asm/types.h>
...@@ -190,8 +189,6 @@ struct video_info{ ...@@ -190,8 +189,6 @@ struct video_info{
unsigned long XGI310_AccelDepth; unsigned long XGI310_AccelDepth;
unsigned long CommandReg; unsigned long CommandReg;
spinlock_t lockaccel;
unsigned int pcibus; unsigned int pcibus;
unsigned int pcislot; unsigned int pcislot;
unsigned int pcifunc; unsigned int pcifunc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment