]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: sm750fb: remove unused variables
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 10 Mar 2015 17:16:53 +0000 (22:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 20:08:06 +0000 (21:08 +0100)
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>
drivers/staging/sm750fb/sm750_cursor.c

index 480615cb6650ff7f656bd2474b8e7812eb95efb2..fca441e9c2ddef636a73e6d2f21f72d28c0033f9 100644 (file)
@@ -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;