Skip to content

Commit

Permalink
[PATCH] forcedeth: coding style cleanups
Browse files Browse the repository at this point in the history
Fix the coding style of the nForce Ethernet driver.
 - typedef's should not be used
 - variable names should not be capitialized
 - structure tags should be lower case
 - add whitespace near keywords
 - don't add paren's to switch cases
 - remove paren's from return
 - don't use __constant_ntohs unless necessary.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

 drivers/net/forcedeth.c |  246 ++++++++++++++++++++++++------------------------
 1 file changed, 123 insertions(+), 123 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Jul 29, 2006
1 parent 053dd21 commit f82a935
Showing 1 changed file with 123 additions and 123 deletions.
Loading

0 comments on commit f82a935

Please sign in to comment.