ethoc: calculate number of buffers in ethoc_probe
authorJonas Bonn <jonas@southpole.se>
Fri, 11 Jun 2010 02:47:34 +0000 (02:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2010 20:28:34 +0000 (13:28 -0700)
commitc527f81475aaa18123eebe3d72a40a25d8e244af
treed71dcb9b809da2e8b3d24ab6e937c5d3e99fae9d
parent14599f1e341ee219abdd15f4eee5872d6f2d29f1
ethoc: calculate number of buffers in ethoc_probe

This moves the calculation of the number of transmission buffers to
ethoc_probe where it more logically fits with the rest of the memory
allocation code.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethoc.c