drivers:net: Remove dma_alloc_coherent OOM messages
authorJoe Perches <joe@perches.com>
Thu, 14 Mar 2013 13:07:21 +0000 (13:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Mar 2013 12:56:58 +0000 (08:56 -0400)
commitd0320f750093d012d3ed69fc1e8b385f654523d5
tree1f9c25c892c33275fb85a993e9a274dc5618370b
parent68c45a2da34cb44962c6a48f8e474ec6b7853641
drivers:net: Remove dma_alloc_coherent OOM messages

I believe these error messages are already logged
on allocation failure by warn_alloc_failed and so
get a dump_stack on OOM.

Remove the unnecessary additional error logging.

Around these deletions:

o Alignment neatening.
o Remove unnecessary casts of dma_alloc_coherent.
o Hoist assigns from ifs.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
42 files changed:
drivers/net/ethernet/aeroflex/greth.c
drivers/net/ethernet/amd/sunlance.c
drivers/net/ethernet/apple/macmace.c
drivers/net/ethernet/broadcom/bcm63xx_enet.c
drivers/net/ethernet/cadence/at91_ether.c
drivers/net/ethernet/dec/tulip/xircom_cb.c
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_ethtool.c
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/freescale/fec.c
drivers/net/ethernet/freescale/gianfar.c
drivers/net/ethernet/ibm/emac/mal.c
drivers/net/ethernet/ibm/ibmveth.c
drivers/net/ethernet/intel/e1000/e1000_main.c
drivers/net/ethernet/intel/ixgb/ixgb_main.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/marvell/mvneta.c
drivers/net/ethernet/marvell/pxa168_eth.c
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/natsemi/jazzsonic.c
drivers/net/ethernet/natsemi/macsonic.c
drivers/net/ethernet/natsemi/xtsonic.c
drivers/net/ethernet/nuvoton/w90p910_ether.c
drivers/net/ethernet/nxp/lpc_eth.c
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/sun/sunbmac.c
drivers/net/ethernet/sun/sunhme.c
drivers/net/ethernet/tundra/tsi108_eth.c
drivers/net/ethernet/xilinx/ll_temac_main.c
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
drivers/net/fddi/defxx.c
drivers/net/irda/bfin_sir.c
drivers/net/irda/smsc-ircc2.c
drivers/net/wireless/ath/wil6210/txrx.c
drivers/net/wireless/b43legacy/dma.c
drivers/net/wireless/iwlegacy/3945.c
drivers/net/wireless/iwlegacy/common.c
drivers/net/wireless/iwlwifi/pcie/tx.c