Skip to content

Commit

Permalink
staging: wlags49_h2: remove return statements at the end of all void …
Browse files Browse the repository at this point in the history
…functions

this patch removes the return statement at the end of all void functions,
since the function returning void no need to have a return at the end of the
function.

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent e4d653f commit 4b9645b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/staging/wlags49_h2/wl_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,6 @@ void wl_tx_timeout( struct net_device *dev )
wl_unlock( lp, &flags );

DBG_LEAVE( DbgInfo );
return;
} // wl_tx_timeout
/*============================================================================*/

Expand Down Expand Up @@ -1292,7 +1291,6 @@ void wl_device_dealloc( struct net_device *dev )
free_netdev( dev );

DBG_LEAVE( DbgInfo );
return;
} // wl_device_dealloc
/*============================================================================*/

Expand Down Expand Up @@ -1547,7 +1545,6 @@ void wl_wds_device_alloc( struct wl_private *lp )
WL_WDS_NETIF_STOP_QUEUE( lp );

DBG_LEAVE( DbgInfo );
return;
} // wl_wds_device_alloc
/*============================================================================*/

Expand Down Expand Up @@ -1593,7 +1590,6 @@ void wl_wds_device_dealloc( struct wl_private *lp )
}

DBG_LEAVE( DbgInfo );
return;
} // wl_wds_device_dealloc
/*============================================================================*/

Expand Down Expand Up @@ -1629,8 +1625,6 @@ void wl_wds_netif_start_queue( struct wl_private *lp )
}
}
}

return;
} // wl_wds_netif_start_queue
/*============================================================================*/

Expand Down Expand Up @@ -1666,8 +1660,6 @@ void wl_wds_netif_stop_queue( struct wl_private *lp )
}
}
}

return;
} // wl_wds_netif_stop_queue
/*============================================================================*/

Expand Down Expand Up @@ -1703,8 +1695,6 @@ void wl_wds_netif_wake_queue( struct wl_private *lp )
}
}
}

return;
} // wl_wds_netif_wake_queue
/*============================================================================*/

Expand Down Expand Up @@ -1738,8 +1728,6 @@ void wl_wds_netif_carrier_on( struct wl_private *lp )
}
}
}

return;
} // wl_wds_netif_carrier_on
/*============================================================================*/

Expand Down

0 comments on commit 4b9645b

Please sign in to comment.