lkml.org 
[lkml]   [2009]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Cleanup: Remove unused __REQ_NR_BITS from enum rq_flag_bits
Date
The __REQ_NR_BITS  was being used by blk_dump_rq_flags() long back, while 
printing the individual request flag bits as strings to limit to the used
bits. But it does not use it now. Remove unused enum.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>

---

diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index ba54c83..f41abbb 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -118,7 +118,6 @@ enum rq_flag_bits {
__REQ_COPY_USER, /* contains copies of user pages */
__REQ_INTEGRITY, /* integrity metadata has been remapped */
__REQ_NOIDLE, /* Don't anticipate more IO after this one */
- __REQ_NR_BITS, /* stops here */
};

#define REQ_RW (1 << __REQ_RW)


\
 
 \ /
  Last update: 2009-04-27 13:41    [W:2.069 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site