Staging: rts5208: remove unnecessary parantheses
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Tue, 9 Feb 2016 20:06:40 +0000 (23:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2016 01:43:09 +0000 (17:43 -0800)
This patch removes unnecessary parantheses around rtsx->pci->dev.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_transport.c

index 0c9549bae986f0315a1c337d16788aeaeba2541d..f2eb18e8dd9657ea7624a981845265ffe3f9ce2a 100644 (file)
@@ -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;