Skip to content

Commit

Permalink
forcedeth: Separate vendor specific initializations into functions
Browse files Browse the repository at this point in the history
Neaten the phy_init function by adding and calling vendor
specific functions.

object size is reduced by ~1kb:

$ size drivers/net/forcedeth.o.*
   text	   data	    bss	    dec	    hex	filename
  83475	   1848	  19304	 104627	  198b3	drivers/net/forcedeth.o.new
  84459	   1848	  19544	 105851	  19d7b	drivers/net/forcedeth.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Joe Perches authored and David S. Miller committed Nov 29, 2010
1 parent c41d41e commit cd66328
Showing 1 changed file with 188 additions and 179 deletions.
Loading

0 comments on commit cd66328

Please sign in to comment.