]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: wlan-ng: remove unnecessary casts from prism2usb.c
authorTim Collier <osdevtc@gmail.com>
Fri, 25 Oct 2019 08:41:22 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Oct 2019 18:46:41 +0000 (20:46 +0200)
commiteaa4e501cf1d96977bc167fcf43059f9272e78ce
treee82ca76844b4aa79069031ed6bbf99f30e760cd1
parent48d357f0beb28e06a52493f73e0606e4b14f6ce9
staging: wlan-ng: remove unnecessary casts from prism2usb.c

usb_get_intfdata returns a void pointer. It is not necessary to
explicitly cast to the desired type and removing the casts is
consistent with most use of usb_get_intfdata.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Link: https://lore.kernel.org/r/20191025084126.9181-2-osdevtc@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2usb.c