Skip to content

Commit c794f7e

Browse files
YueHaibingvinodkoul
authored andcommitted
dmaengine: moxart-dma: Drop pointless static qualifier in moxart_probe()
There is no need to have the 'void __iomem *dma_base_addr' variable static since new value always be assigned before use it. Signed-off-by: YueHaibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent f2b5d50 commit c794f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/moxart-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ static int moxart_probe(struct platform_device *pdev)
568568
struct device *dev = &pdev->dev;
569569
struct device_node *node = dev->of_node;
570570
struct resource *res;
571-
static void __iomem *dma_base_addr;
571+
void __iomem *dma_base_addr;
572572
int ret, i;
573573
unsigned int irq;
574574
struct moxart_chan *ch;

0 commit comments

Comments
 (0)