diff options
author | Quytelda Kahja <quytelda@tamalin.org> | 2018-03-28 22:51:45 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 11:50:36 +0200 |
commit | 019ec78508d5dd21589c3ff60ecbe90a54a7a14b (patch) | |
tree | 4a539048a3cb58b44d8fbbbb63e57c6e17a54a9d /drivers/staging | |
parent | e8f7cac0a4b2f94d28b252086a808089d53ad926 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/ks7010/ks_wlan_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index 4019f3a904b0..9693e8fe98b9 100644 --- a/drivers/staging/ks7010/ks_wlan_net.c +++ b/drivers/staging/ks7010/ks_wlan_net.c @@ -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); |