Browse Source

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>
Sudip Mukherjee 10 years ago
parent
commit
041d3a42e7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/staging/sm750fb/sm750_cursor.c

+ 1 - 2
drivers/staging/sm750fb/sm750_cursor.c

@@ -99,7 +99,6 @@ void hw_cursor_setData(struct lynx_cursor * cursor,
 	u8 color,mask,opr;
 	u8 color,mask,opr;
 	u16 data;
 	u16 data;
 	u16 * pbuffer,*pstart;
 	u16 * pbuffer,*pstart;
-	static ulong odd = 0;
 
 
 	/*  in byte*/
 	/*  in byte*/
 	pitch = cursor->w >> 3;
 	pitch = cursor->w >> 3;
@@ -188,7 +187,7 @@ void hw_cursor_setData2(struct lynx_cursor * cursor,
 			u16 rop,const u8* pcol,const u8* pmsk)
 			u16 rop,const u8* pcol,const u8* pmsk)
 {
 {
 	int i,j,count,pitch,offset;
 	int i,j,count,pitch,offset;
-	u8 color,mask,opr;
+	u8 color, mask;
 	u16 data;
 	u16 data;
 	u16 * pbuffer,*pstart;
 	u16 * pbuffer,*pstart;