projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7d8ba
)
Staging: wlags49_h2: wl_profile: remove casts from void*
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 29 Jun 2010 10:16:33 +0000
(14:16 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 8 Jul 2010 20:54:01 +0000
(13:54 -0700)
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlags49_h2/wl_profile.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wlags49_h2/wl_profile.c
b/drivers/staging/wlags49_h2/wl_profile.c
index 292d5792dd75dc39a96ea5304ef246f52fd708fe..7a1337db7aa1aa28150c59338a919b51542c4bb3 100644
(file)
--- 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;