Skip to content

Commit

Permalink
block: do not initialise globals to 0 or NULL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Tang authored and Jens Axboe committed Nov 24, 2015
1 parent c2789bd commit d674d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d674d41

Please sign in to comment.