diff mbox

[3/3] block: remove IOPRIO_BITS

Message ID 1473602584-11744-4-git-send-email-hch@lst.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Hellwig Sept. 11, 2016, 2:03 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/ioprio.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Bart Van Assche Sept. 14, 2016, 2:16 a.m. UTC | #1
On 09/11/2016 04:03 PM, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/ioprio.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/ioprio.h b/include/linux/ioprio.h
> index beb9ce1..8c12390 100644
> --- a/include/linux/ioprio.h
> +++ b/include/linux/ioprio.h
> @@ -7,7 +7,6 @@
>  /*
>   * Gives us 8 prio classes with 13-bits of data for each class
>   */
> -#define IOPRIO_BITS		(16)
>  #define IOPRIO_CLASS_SHIFT	(13)
>  #define IOPRIO_PRIO_MASK	((1UL << IOPRIO_CLASS_SHIFT) - 1)

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/ioprio.h b/include/linux/ioprio.h
index beb9ce1..8c12390 100644
--- a/include/linux/ioprio.h
+++ b/include/linux/ioprio.h
@@ -7,7 +7,6 @@ 
 /*
  * Gives us 8 prio classes with 13-bits of data for each class
  */
-#define IOPRIO_BITS		(16)
 #define IOPRIO_CLASS_SHIFT	(13)
 #define IOPRIO_PRIO_MASK	((1UL << IOPRIO_CLASS_SHIFT) - 1)