summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/fwserial/dma_fifo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/fwserial/dma_fifo.c b/drivers/staging/fwserial/dma_fifo.c
index 72aa053..5e84634 100644
--- a/drivers/staging/fwserial/dma_fifo.c
+++ b/drivers/staging/fwserial/dma_fifo.c
@@ -33,10 +33,7 @@
#define FAIL(fifo, condition, format...) ({ \
fifo->corrupt = !!(condition); \
- if (unlikely(fifo->corrupt)) { \
- __WARN_printf(format); \
- } \
- unlikely(fifo->corrupt); \
+ WARN(fifo->corrupt, format); \
})
/*
OpenPOWER on IntegriCloud