drivers/net/ethernet/amd/pcnet32.c: neaten and remove unnecessary OOM messages
authorJoe Perches <joe@perches.com>
Fri, 8 Aug 2014 21:24:55 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:30 +0000 (15:57 -0700)
commite03aec1686e4169d208881e10078d668ad6adb2b
tree2cadab1df723d9162976ad399e182e823836cb40
parent88b2608c49b7fe3d9131d5a1d4a03438a589997c
drivers/net/ethernet/amd/pcnet32.c: neaten and remove unnecessary OOM messages

Make the code flow a little better for 80 columns.

Use a consistent style for the RX and TX rings allocation.
Use BIT macro.
Use a temporary unsiged int entries for (1<<size).
Remove the OOM messages as they duplicate the generic
OOM and dump_stack() provided by the memory subsystem.
Reflow allocs to 80 columns.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Don Fry <pcnet32@frontier.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ethernet/amd/pcnet32.c