mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 04:53:09 -04:00
staging: ks7010: Remove unecessary cast.
The driver casts '&ks_wlan_handler_def' to 'struct iw_handler_def *', but it is already of that type. Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e8f7cac0a4
commit
019ec78508
@@ -2897,7 +2897,7 @@ int ks_wlan_net_start(struct net_device *dev)
|
||||
|
||||
/* The ks_wlan-specific entries in the device structure. */
|
||||
dev->netdev_ops = &ks_wlan_netdev_ops;
|
||||
dev->wireless_handlers = (struct iw_handler_def *)&ks_wlan_handler_def;
|
||||
dev->wireless_handlers = &ks_wlan_handler_def;
|
||||
dev->watchdog_timeo = TX_TIMEOUT;
|
||||
|
||||
netif_carrier_off(dev);
|
||||
|
||||
Reference in New Issue
Block a user