aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/XGIfb.h
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2011-02-21 18:16:44 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-23 14:19:33 -0800
commit522f1f63cfca29a14ff5efacac9c2cce69d8508b (patch)
tree80beafe12d1caaa640baebd47877a4d9e5464580 /drivers/staging/xgifb/XGIfb.h
parentStaging: xgifb: Remove all the references to XGIfb_accel (diff)
downloadlinux-dev-522f1f63cfca29a14ff5efacac9c2cce69d8508b.tar.xz
linux-dev-522f1f63cfca29a14ff5efacac9c2cce69d8508b.zip
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: Javier Martinez Canillas <martinez.javier@gmail.com> Acked-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/XGIfb.h')
-rw-r--r--drivers/staging/xgifb/XGIfb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/XGIfb.h b/drivers/staging/xgifb/XGIfb.h
index bb4640abda98..b6715ba9b681 100644
--- a/drivers/staging/xgifb/XGIfb.h
+++ b/drivers/staging/xgifb/XGIfb.h
@@ -1,6 +1,5 @@
#ifndef _LINUX_XGIFB
#define _LINUX_XGIFB
-#include <linux/spinlock.h>
#include <asm/ioctl.h>
#include <asm/types.h>
@@ -190,8 +189,6 @@ struct video_info{
unsigned long XGI310_AccelDepth;
unsigned long CommandReg;
- spinlock_t lockaccel;
-
unsigned int pcibus;
unsigned int pcislot;
unsigned int pcifunc;