summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-03-10 22:46:53 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-10 21:08:06 +0100
commit041d3a42e7d823e89b593d47338d6840b38cbcd3 (patch)
tree79863eab7be39ed35e07d42c7f39dc5222b9705b /drivers/staging/sm750fb
parent4933b29bd4e007a0544c97ea47fa0a091c5fec53 (diff)
downloadop-kernel-dev-041d3a42e7d823e89b593d47338d6840b38cbcd3.zip
op-kernel-dev-041d3a42e7d823e89b593d47338d6840b38cbcd3.tar.gz
staging: sm750fb: remove unused variables
removed some variables which were only declared but were never used. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb')
-rw-r--r--drivers/staging/sm750fb/sm750_cursor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c
index 480615c..fca441e 100644
--- a/drivers/staging/sm750fb/sm750_cursor.c
+++ b/drivers/staging/sm750fb/sm750_cursor.c
@@ -99,7 +99,6 @@ void hw_cursor_setData(struct lynx_cursor * cursor,
u8 color,mask,opr;
u16 data;
u16 * pbuffer,*pstart;
- static ulong odd = 0;
/* in byte*/
pitch = cursor->w >> 3;
@@ -188,7 +187,7 @@ void hw_cursor_setData2(struct lynx_cursor * cursor,
u16 rop,const u8* pcol,const u8* pmsk)
{
int i,j,count,pitch,offset;
- u8 color,mask,opr;
+ u8 color, mask;
u16 data;
u16 * pbuffer,*pstart;
OpenPOWER on IntegriCloud