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)
commit0b2e0c0772fa39fbd8dc4b959a5f3ede48ec643c
treec726869328860936716ac90010d8f72d5eb766a9
parent1cd3c1aba3376b0283ddf19b253f510055d551fe
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