staging: sm750fb: correct function return
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 10 Mar 2015 17:16:54 +0000 (22:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 20:11:06 +0000 (21:11 +0100)
hw_cursor_setData2() is a function with void return type but it was
returning an integer.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_cursor.c

index fca441e9c2ddef636a73e6d2f21f72d28c0033f9..6cceef107c37726afed8bc9426a552e0870bce25 100644 (file)
@@ -248,6 +248,4 @@ void hw_cursor_setData2(struct lynx_cursor * cursor,
                }
 
        }
-       return 0;
-
 }