Skip to content

Commit

Permalink
Staging: wlags49_h2: wl_netdev: remove casts from void*
Browse files Browse the repository at this point in the history
Remove unnesessary casts from void*.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent 2f72aee commit c755a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/wlags49_h2/wl_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1905,8 +1905,8 @@ int wl_rx_dma( struct net_device *dev )
DBG_FUNC("wl_rx")
DBG_PARAM(DbgInfo, "dev", "%s (0x%p)", dev->name, dev);

if((( lp = (struct wl_private *)dev->priv ) != NULL ) &&
!( lp->flags & WVLAN2_UIL_BUSY )) {
if((( lp = dev->priv ) != NULL ) &&
!( lp->flags & WVLAN2_UIL_BUSY )) {

#ifdef USE_RTS
if( lp->useRTS == 1 ) {
Expand Down

0 comments on commit c755a82

Please sign in to comment.