summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet-tx.c
diff options
context:
space:
mode:
authorAaro Koskinen2015-04-04 21:51:19 +0200
committerGreg Kroah-Hartman2015-04-30 17:06:09 +0200
commitc93b0e75a819e648e7c16a5ebd503a2a36f7c1ac (patch)
tree78a7985a714e7d42caec8052d6b45b46e5026001 /drivers/staging/octeon/ethernet-tx.c
parentstaging: octeon-ethernet: eliminate USE_RED define (diff)
downloadkernel-qcow2-linux-c93b0e75a819e648e7c16a5ebd503a2a36f7c1ac.tar.gz
kernel-qcow2-linux-c93b0e75a819e648e7c16a5ebd503a2a36f7c1ac.tar.xz
kernel-qcow2-linux-c93b0e75a819e648e7c16a5ebd503a2a36f7c1ac.zip
staging: octeon-ethernet: eliminate DONT_WRITEBACK
This feature is not used so eliminate it. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-tx.c')
-rw-r--r--drivers/staging/octeon/ethernet-tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-tx.c b/drivers/staging/octeon/ethernet-tx.c
index 94ba85ae7b50..25f89b6229b0 100644
--- a/drivers/staging/octeon/ethernet-tx.c
+++ b/drivers/staging/octeon/ethernet-tx.c
@@ -576,7 +576,7 @@ int cvm_oct_xmit_pow(struct sk_buff *skb, struct net_device *dev)
if (unlikely(packet_buffer == NULL)) {
printk_ratelimited("%s: Failed to allocate a packet buffer\n",
dev->name);
- cvmx_fpa_free(work, CVMX_FPA_WQE_POOL, DONT_WRITEBACK(1));
+ cvmx_fpa_free(work, CVMX_FPA_WQE_POOL, 1);
priv->stats.tx_dropped++;
dev_kfree_skb_any(skb);
return 0;