[PATCH 296/524] Staging: wlags49_h2: wl_profile: remove casts from void*
Greg Kroah-Hartman
gregkh at suse.de
Thu Aug 5 22:21:19 UTC 2010
From: Kulikov Vasiliy <segooon at gmail.com>
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon at gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
drivers/staging/wlags49_h2/wl_profile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/wlags49_h2/wl_profile.c b/drivers/staging/wlags49_h2/wl_profile.c
index 292d579..7a1337d 100644
--- a/drivers/staging/wlags49_h2/wl_profile.c
+++ b/drivers/staging/wlags49_h2/wl_profile.c
@@ -169,7 +169,7 @@ void parse_config(struct net_device *dev)
DBG_ENTER(DbgInfo);
/* Get the wavelan specific info for this device */
- wvlan_config = (struct wl_private *)dev->priv;
+ wvlan_config = dev->priv;
if (wvlan_config == NULL) {
DBG_ERROR(DbgInfo, "Wavelan specific info struct not present?\n");
return;
--
1.7.1
More information about the devel
mailing list