Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: fbtft: fb_ra8875: Remove useless cast

Remove explicit type conversion as it is not required.
Semantic patch used:

@@
type T;
T e;
identifier x;
@@

* T x = (T)e;

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Shivani Bhardwaj and committed by
Greg Kroah-Hartman
e788b70f 193ef315

+1 -1
+1 -1
drivers/staging/fbtft/fb_ra8875.c
··· 204 204 { 205 205 va_list args; 206 206 int i, ret; 207 - u8 *buf = (u8 *)par->buf; 207 + u8 *buf = par->buf; 208 208 209 209 /* slow down spi-speed for writing registers */ 210 210 par->fbtftops.write = write_spi;