From: Javier Martinez Canillas Date: Mon, 21 Feb 2011 17:16:44 +0000 (+0100) Subject: Staging: xgifb: Remove unused spinlock in struct video_info X-Git-Tag: MMI-PSA29.97-13-9~20521^2~430 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=522f1f63cfca29a14ff5efacac9c2cce69d8508b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Acked-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- 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 #include #include @@ -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;