]> git.baikalelectronics.ru Git - kernel.git/commit
skd: Use ARRAY_SIZE() where appropriate
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:11 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commiteaa4e0ec5386af1b06a6cb2995c56682d76223a4
treec726869328860936716ac90010d8f72d5eb766a9
parentda7f9ab36e261f4c491ddc4c5d99c21c61779eb8
skd: Use ARRAY_SIZE() where appropriate

Use ARRAY_SIZE() instead of open-coding it. This patch does not
change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c