summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2014-10-21 17:00:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-29 17:19:38 +0800
commitc42645a2c54ffd82817e7a11fa05fffde08463a3 (patch)
tree8ae44e58a3edd3bf22d9926f0f9db8659564b848
parentd59d6f5d38962caf82536b393db2bdf7578a0719 (diff)
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>
-rw-r--r--drivers/staging/vt6655/device_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index c8f262f58c7b..ef848e2f0585 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -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) {