mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -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:
parent
e8f7cac0a4
commit
019ec78508
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue