Skip to content

Commit fb99e87

Browse files
mauelshaMike Snitzer
authored andcommitted
dm log: avoid trailing semicolon in macro
Signed-off-by: Heinz Mauelshagen <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
1 parent 5cae0aa commit fb99e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/dm-log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ static region_t core_get_sync_count(struct dm_dirty_log *log)
789789
do { \
790790
if (lc->sync != DEFAULTSYNC) \
791791
DMEMIT("%ssync ", lc->sync == NOSYNC ? "no" : ""); \
792-
} while (0);
792+
} while (0)
793793

794794
static int core_status(struct dm_dirty_log *log, status_type_t status,
795795
char *result, unsigned int maxlen)

0 commit comments

Comments
 (0)