diff options
author | Wei Tang <tangwei@cmss.chinamobile.com> | 2015-11-24 09:58:45 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-24 15:24:25 -0700 |
commit | d674d4145e1909e0e4c394bb2633ef73d539bd27 (patch) | |
tree | c14a9594220c5b88f8bd1490f95d8f77a99ea586 /block/blk-core.c | |
parent | c2789bd403f4c0c541a359cf318b1dda9a14234f (diff) |
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 <tangwei@cmss.chinamobile.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |