Re: [PATCH] block: remove unused __REQ_NR_BITS

From: Nikanth K
Date: Thu Apr 30 2009 - 04:13:15 EST


Hi Jerome

On Wed, Apr 29, 2009 at 7:31 PM, Jerome Marchand <jmarchan@xxxxxxxxxx> wrote:
>
> Removes __REQ_NR_BITS which is not used since its only user
> (blk_dump_rq_flags()) stopped to use it.
>

See http://lkml.org/lkml/2009/4/27/140

A user for it is added by a patch in linux-2.6-block#for-2.6.31
see http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commit;h=9eb55b030c4b3227334ee4482402096cd1d1a6fe

Thanks
Nikanth

>
> Signed-off-by: Jerome Marchand <jmarchan@xxxxxxxxxx>
> ---
> diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
> index 2755d5c..a101821 100644
> --- a/include/linux/blkdev.h
> +++ b/include/linux/blkdev.h
> @@ -119,7 +119,6 @@ enum rq_flag_bits {
> Â Â Â Â__REQ_INTEGRITY, Â Â Â Â/* integrity metadata has been remapped */
> Â Â Â Â__REQ_NOIDLE, Â Â Â Â Â /* Don't anticipate more IO after this one */
> Â Â Â Â__REQ_IO_STAT, Â Â Â Â Â/* account I/O stat */
> - Â Â Â __REQ_NR_BITS, Â Â Â Â Â/* stops here */
> Â};
>
> Â#define REQ_RW Â Â Â Â (1 << __REQ_RW)
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> Please read the FAQ at Âhttp://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/