]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/net/ethernet/amd/pcnet32.c: neaten and remove unnecessary OOM messages
authorJoe Perches <joe@perches.com>
Thu, 26 Jun 2014 00:43:21 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 27 Jun 2014 04:21:51 +0000 (14:21 +1000)
commit8430530339dfa9fda6a2b8d4667096251024b932
tree506df3c0f6000e7f1f2302edd93bb18861b9c799
parente9bc9dba4def57c995dd7cd20885869110bb35f9
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/net/ethernet/amd/pcnet32.c