mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
staging: vt6655: Remove redundant cast
Both sides have type const struct iw_handler_def*, so the cast is unnecessary and confusing. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d59d6f5d38
commit
c42645a2c5
@ -932,7 +932,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
|
||||
dev->irq = pcid->irq;
|
||||
dev->netdev_ops = &device_netdev_ops;
|
||||
|
||||
dev->wireless_handlers = (struct iw_handler_def *)&iwctl_handler_def;
|
||||
dev->wireless_handlers = &iwctl_handler_def;
|
||||
|
||||
rc = register_netdev(dev);
|
||||
if (rc) {
|
||||
|
Loading…
Reference in New Issue
Block a user