From: Rasmus Villemoes Date: Tue, 21 Oct 2014 15:00:24 +0000 (+0200) Subject: staging: vt6655: Remove redundant cast X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c42645a2c54ffd82817e7a11fa05fffde08463a3;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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) {