diff mbox

[1/2] block: fix error in blk-exec.c

Message ID 1448249486-8922-2-git-send-email-tangwei@cmss.chinamobile.com (mailing list archive)
State Superseded, archived
Delegated to: Jens Axboe
Headers show

Commit Message

Wei Tang Nov. 23, 2015, 3:31 a.m. UTC
This patch fixes the checkpatch.pl error to blk-exec.c:

ERROR: do not initialise globals to NULL

Signed-off-by: Wei Tang <tangwei@cmss.chinamobile.com>
---
 block/blk-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/block/blk-core.c b/block/blk-core.c
index 5131993b..9d3d574 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