Skip to content
Commit e03aec16 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

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: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarDon Fry <pcnet32@frontier.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 88b2608c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment