mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
staging: wlan-ng: Drop void pointer cast
Void pointers need not be cast to other pointer types. Semantic patch used: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x) [...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5850c251fa
commit
0440107039
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib,
|
|||
void *data)
|
||||
{
|
||||
int result;
|
||||
p80211pstrd_t *pstr = (p80211pstrd_t *) data;
|
||||
p80211pstrd_t *pstr = data;
|
||||
u8 bytebuf[MIB_TMP_MAXLEN];
|
||||
|
||||
if (isget) {
|
||||
|
|
Loading…
Reference in a new issue