diff mbox series

[v2] scsi: qla2xxx: remove trailing semicolon in macro definition

Message ID 20201130205509.3447316-1-trix@redhat.com
State New
Headers show
Series [v2] scsi: qla2xxx: remove trailing semicolon in macro definition | expand

Commit Message

Tom Rix Nov. 30, 2020, 8:55 p.m. UTC
From: Tom Rix <trix@redhat.com>

The macro use will already have a semicolon.
Remove unneeded escaped newline.

Signed-off-by: Tom Rix <trix@redhat.com>
---
v2: remove unneeded escaped newline
---
 drivers/scsi/qla2xxx/qla_def.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Daniel Wagner Dec. 1, 2020, 8:56 a.m. UTC | #1
On Mon, Nov 30, 2020 at 12:55:09PM -0800, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>

> 

> The macro use will already have a semicolon.

> Remove unneeded escaped newline.

> 

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


Reviewed-by: Daniel Wagner <dwagner@suse.de>
Martin K. Petersen Dec. 8, 2020, 1:35 a.m. UTC | #2
Tom,

> The macro use will already have a semicolon.  Remove unneeded escaped

> newline.


Applied to 5.11/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Martin K. Petersen Dec. 9, 2020, 5:23 p.m. UTC | #3
On Mon, 30 Nov 2020 12:55:09 -0800, trix@redhat.com wrote:

> The macro use will already have a semicolon.

> Remove unneeded escaped newline.


Applied to 5.11/scsi-queue, thanks!

[1/1] scsi: qla2xxx: remove trailing semicolon in macro definition
      https://git.kernel.org/mkp/scsi/c/8f525bc2a7b2

-- 
Martin K. Petersen	Oracle Linux Engineering
diff mbox series

Patch

diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index ed9b10f8537d..6248e528efe5 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -4970,8 +4970,7 @@  struct secure_flash_update_block_pk {
 } while (0)
 
 #define QLA_QPAIR_MARK_NOT_BUSY(__qpair)		\
-	atomic_dec(&__qpair->ref_count);		\
-
+	atomic_dec(&__qpair->ref_count)
 
 #define QLA_ENA_CONF(_ha) {\
     int i;\