summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSimran Singhal <singhalsimran0@gmail.com>2020-03-26 14:32:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-26 17:45:08 +0300
commit78989d9ab8c123d33b82215f68b9c776c071fabb (patch)
treea63423d3e0ac9ac18aadd6de70b2b3a0b66b7a72 /lib/mpi/mpiutil.c
parent57e0ff116c4356f7162c744a3b0d5b4f4cbfd4d0 (diff)
downloadlinux-78989d9ab8c123d33b82215f68b9c776c071fabb.tar.xz
staging: rtl8723bs: hal: Remove unnecessary cast on void pointer
Assignment to a typed pointer is sufficient in C. No cast is needed. The following Coccinelle script was used to detect this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Signed-off-by: Simran Singhal <singhalsimran0@gmail.com> Link: https://lore.kernel.org/r/20200326113210.GA29951@simran-Inspiron-5558 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions