Staging: rts5208: remove unnecessary parantheses
PATCH v2 2/2 Staging: rts5208: remove unnecessary parantheses
This patch removes unnecessary parantheses around rtsx->pci->dev.
Signed-off-by Haneen Mohammed <[email protected]>
--- drivers/staging/rts5208/rtsx_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rts5208/rtsx_transport.c +1 -1
@@ -652,7 +652,7 @@ static int rtsx_transfer_buf(struct rtsx_chip *chip, u8 card, void *buf,else return -ENXIO ; - addr =dma_map_single (&(rtsx->pci->dev), buf, len, dma_dir); + addr =dma_map_single (&rtsx->pci->dev, buf, len, dma_dir);if (dma_mapping_error (&rtsx->pci->dev, addr))return -ENOMEM ;
Signature · 1 line
1.9.1
Quoted 3 lines · Haneen Mohammed
This patch removes unnecessary parantheses around
rtsx->pci->dev.Signed-off-by Haneen Mohammed <[email protected]>
Acked-by Julia Lawall <[email protected]>
Quoted 27 lines
--- drivers/staging/rts5208/rtsx_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rts5208/rtsx_transport.c +1
-2@@ -652,7 +652,7 @@ static int rtsx_transfer_buf(struct rtsx_chip *chip, u8 card, void *buf,else return -ENXIO ; - addr =dma_map_single (&(rtsx->pci->dev), buf, len, dma_dir); + addr =dma_map_single (&rtsx->pci->dev, buf, len, dma_dir);if (dma_mapping_error (&rtsx->pci->dev, addr))return -ENOMEM ; --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160209115955.GA28315%40haneenVB.
For more options, visit https://groups.google.com/d/optout.