mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-11 07:04:04 +08:00
staging: wlan-ng: prism2mgmt.c: Drop void pointer cast
Void pointers don't need to 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
3e83b0ab50
commit
3cfcb95c72
@ -375,7 +375,7 @@ int prism2mgmt_scan_results(wlandevice_t *wlandev, void *msgp)
|
||||
|
||||
int count;
|
||||
|
||||
req = (struct p80211msg_dot11req_scan_results *) msgp;
|
||||
req = msgp;
|
||||
|
||||
req->resultcode.status = P80211ENUM_msgitem_status_data_ok;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user