]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
block: remove unwanted semicolons
authorNamhyung Kim <namhyung@gmail.com>
Tue, 31 May 2011 11:45:53 +0000 (13:45 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 31 May 2011 11:45:53 +0000 (13:45 +0200)
Since those defined functions require additional semicolon
from the caller, they could cause potential syntax errors
when used in if-else statements.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
include/linux/blkdev.h

index ae9091a684807ffcc95fa6c0fb6de3233383d4cf..1a23722e8878619aec4017cbbd31b951439fdb2b 100644 (file)
@@ -1282,8 +1282,8 @@ queue_max_integrity_segments(struct request_queue *q)
 #define blk_get_integrity(a)                   (0)
 #define blk_integrity_compare(a, b)            (0)
 #define blk_integrity_register(a, b)           (0)
-#define blk_integrity_unregister(a)            do { } while (0);
-#define blk_queue_max_integrity_segments(a, b) do { } while (0);
+#define blk_integrity_unregister(a)            do { } while (0)
+#define blk_queue_max_integrity_segments(a, b) do { } while (0)
 #define queue_max_integrity_segments(a)                (0)
 #define blk_integrity_merge_rq(a, b, c)                (0)
 #define blk_integrity_merge_bio(a, b, c)       (0)