From: Wei Tang Date: Tue, 24 Nov 2015 01:58:45 +0000 (+0800) Subject: block: do not initialise globals to 0 or NULL X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d674d4145e1909e0e4c394bb2633ef73d539bd27;p=linux-beck.git block: do not initialise globals to 0 or NULL This patch fixes the checkpatch.pl error to blk-exec.c: ERROR: do not initialise globals to 0 or NULL Signed-off-by: Wei Tang Signed-off-by: Jens Axboe --- diff --git a/block/blk-core.c b/block/blk-core.c index c0c884efa40f..c88a946eca49 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -51,7 +51,7 @@ DEFINE_IDA(blk_queue_ida); /* * For the allocated request tables */ -struct kmem_cache *request_cachep = NULL; +struct kmem_cache *request_cachep; /* * For queue allocation