s390/dma: remove gratuitous brackets
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 21 Jun 2013 17:00:27 +0000 (19:00 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:26 +0000 (21:10 +0200)
Remove gratuitous brackets in dma_mapping_error.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/dma-mapping.h

index 2f8c1abeb086999ada3a2938973b8054f112625e..3fbc67d9e19739edbf5be625a68c5f7e34153771 100644 (file)
@@ -53,7 +53,7 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
        debug_dma_mapping_error(dev, dma_addr);
        if (dma_ops->mapping_error)
                return dma_ops->mapping_error(dev, dma_addr);
-       return (dma_addr == DMA_ERROR_CODE);
+       return dma_addr == DMA_ERROR_CODE;
 }
 
 static inline void *dma_alloc_coherent(struct device *dev, size_t size,