block: do not initialise globals to 0 or NULL
authorWei Tang <tangwei@cmss.chinamobile.com>
Tue, 24 Nov 2015 01:58:45 +0000 (09:58 +0800)
committerJens Axboe <axboe@fb.com>
Tue, 24 Nov 2015 22:24:25 +0000 (15:24 -0700)
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 <tangwei@cmss.chinamobile.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c

index c0c884efa40f72a6cec41ecc00f56431cfbcda50..c88a946eca497f86734fed4f10c33b05cd14d2f7 100644 (file)
@@ -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
This page took 0.02539 seconds and 5 git commands to generate.