lkml.org 
[lkml]   [2020]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] misc: altera-stapl: remove trailing semicolon in macro definition
Date
From: Tom Rix <trix@redhat.com>

The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@redhat.com>
---
drivers/misc/altera-stapl/altera-jtag.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/altera-stapl/altera-jtag.c b/drivers/misc/altera-stapl/altera-jtag.c
index 27e8e0c9e8cf..0238600107b0 100644
--- a/drivers/misc/altera-stapl/altera-jtag.c
+++ b/drivers/misc/altera-stapl/altera-jtag.c
@@ -17,9 +17,9 @@
#include "altera-jtag.h"

#define alt_jtag_io(a, b, c)\
- astate->config->jtag_io(astate->config->dev, a, b, c);
+ astate->config->jtag_io(astate->config->dev, a, b, c)

-#define alt_malloc(a) kzalloc(a, GFP_KERNEL);
+#define alt_malloc(a) kzalloc(a, GFP_KERNEL)

/*
* This structure shows, for each JTAG state, which state is reached after
--
2.18.4
\
 
 \ /
  Last update: 2020-11-27 17:54    [W:0.051 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site