Skip to contentSkip to conversation

block: remove unnecessary trailing '\'

PATCH Applied Keith Busch 2 participants 2 messages Dec 22, 2021 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove unnecessary trailing '\'

While harmless, the blank line is certainly not intended to be part of the rq_list_for_each() macro. Remove it.

---
 include/linux/blkdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/blkdev.h +1 -1
index bb5fb7282e6e..22746b2d6825 100644
@@ -1363,7 +1363,7 @@ struct io_comp_batch {
 })
 
 #define rq_list_for_each(listptr, pos)			\
-	for (pos = rq_list_peek((listptr)); pos; pos = rq_list_next(pos)) \
+	for (pos = rq_list_peek((listptr)); pos; pos = rq_list_next(pos))
 
 #define rq_list_next(rq)	(rq)->rq_next
 #define rq_list_empty(list)	((list) == (struct request *) NULL)
Signature · 1 line
2.25.4
maintainer Applied
#1 lore raw
Quoted 4 lines · Keith Busch

While harmless, the blank line is certainly not intended to be part of the rq_list_for_each() macro. Remove it.

Applied, thanks!

[1/1] block: remove unnecessary trailing '\'

      commit: a16c7246368db8935652c805bc446928d0e1c0aa

Best regards,

Signature · 1 line
Jens Axboe