diff mbox series

net: cisco: remove trailing semicolon in macro definition

Message ID 20201127175821.2756988-1-trix@redhat.com
State New
Headers show
Series net: cisco: remove trailing semicolon in macro definition | expand

Commit Message

Tom Rix Nov. 27, 2020, 5:58 p.m. UTC
From: Tom Rix <trix@redhat.com>

The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/net/wireless/cisco/airo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Dec. 2, 2020, 7:39 p.m. UTC | #1
trix@redhat.com wrote:

> From: Tom Rix <trix@redhat.com>

> 

> The macro use will already have a semicolon.

> 

> Signed-off-by: Tom Rix <trix@redhat.com>

> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>


Patch applied to wireless-drivers-next.git, thanks.

a460b0e1bab8 airo: remove trailing semicolon in macro definition

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20201127175821.2756988-1-trix@redhat.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c
index 74acf9af2adb..ba62bb2995d9 100644
--- a/drivers/net/wireless/cisco/airo.c
+++ b/drivers/net/wireless/cisco/airo.c
@@ -5785,7 +5785,7 @@  static int airo_get_quality (StatusRid *status_rid, CapabilityRid *cap_rid)
 }
 
 #define airo_get_max_quality(cap_rid) (memcmp((cap_rid)->prodName, "350", 3) ? 0x20 : 0xa0)
-#define airo_get_avg_quality(cap_rid) (memcmp((cap_rid)->prodName, "350", 3) ? 0x10 : 0x50);
+#define airo_get_avg_quality(cap_rid) (memcmp((cap_rid)->prodName, "350", 3) ? 0x10 : 0x50)
 
 /*------------------------------------------------------------------*/
 /*