summaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-05-31 13:45:53 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-05-31 13:45:53 +0200
commitea9d6553b3b3044e7374774cc33bb1b2eee19dd3 (patch)
tree9079017f7576f1df50d063c033c80c5a201dc555 /include/linux/blkdev.h
parenta1706ac4c0201ea0143dc0db0659001b26ceeabb (diff)
downloadblackbird-op-linux-ea9d6553b3b3044e7374774cc33bb1b2eee19dd3.tar.gz
blackbird-op-linux-ea9d6553b3b3044e7374774cc33bb1b2eee19dd3.zip
block: remove unwanted semicolons
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>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index ae9091a68480..1a23722e8878 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -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)
OpenPOWER on IntegriCloud