Re: [PATCH] block, blk-sysfs: Use the variable directly instead of a function call

Jens Axboe
2011-04-13T20:13:41Z

On 2011-04-13 16:59, Liu Yuan wrote:
> From: Liu Yuan <tailai.ly@taobao.com>
>
> In the function blk_register_queue(), var _dev_ is already assigned by
> disk_to_dev().So use it directly instead of calling disk_to_dev() again.

Indeed it is, thanks, I'll add this.

--
Jens Axboe