]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: fbtft: fb_agm1264k-fl: Remove unnecessary cast
authorShivani Bhardwaj <shivanib134@gmail.com>
Fri, 16 Oct 2015 16:08:34 +0000 (21:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:56:23 +0000 (22:56 -0700)
commit06b4da7060f2aab39437298303f15d7e09c0f90b
tree78ed4e9647e2ac41671b9851736a557e6a74922f
parent606e186e6c60ee6a9de37536e603505d753ea3f2
Staging: fbtft: fb_agm1264k-fl: Remove unnecessary cast

Remove explicit typecast from variables as compiler can typecast
implicitly.
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_agm1264k-fl.c