commit | eaf0e7966d485b4524c1fc278922e4197ec273cc | [log] [tgz] |
---|---|---|
author | Lucas Tanure <tanure@linux.com> | Wed Jan 20 00:52:13 2016 -0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 19:52:30 2016 -0800 |
tree | 920ff7f7486a3de8ea3df980954edc7fb60df29a | |
parent | 7c2a2017e5a2a07ffb7732ed88e935824b70b6fb [diff] |
Staging: rtl8712: Remove unnecessary cast on void pointer The conversion from void pointer to any other pointer type is guaranteed by the C programming language. The semantic patch used to find this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Lucas Tanure <tanure@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>