mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
Staging: wlags49_h2: wl_profile: remove casts from void*
Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ef7d8ba135
commit
82942ca2b5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user