]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: fbtft: fb_ssd1331: Remove unnecessary cast
authorShivani Bhardwaj <shivanib134@gmail.com>
Fri, 16 Oct 2015 16:19:20 +0000 (21:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:56:23 +0000 (22:56 -0700)
commita253e78f750536a25d081550a4e74cba07d04b2d
tree7628690fefc5e4b150ce544a25bc87ec3bba5057
parent52eee93e6473baf1beac307b309eafb92fb89992
Staging: fbtft: fb_ssd1331: Remove unnecessary cast

Compiler can typecast variables implicitly so, explicit type cast is not
required and should be removed.
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>
drivers/staging/fbtft/fb_ssd1331.c