From: Kulikov Vasiliy Date: Tue, 29 Jun 2010 10:16:33 +0000 (+0400) Subject: Staging: wlags49_h2: wl_profile: remove casts from void* X-Git-Tag: v2.6.36-rc1~520^2~1^2~227 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=82942ca2b509f4a77ef1febd00f648fcb67950ca;p=~shefty%2Frdma-dev.git Staging: wlags49_h2: wl_profile: remove casts from void* Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlags49_h2/wl_profile.c b/drivers/staging/wlags49_h2/wl_profile.c index 292d5792dd7..7a1337db7aa 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;