aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2015-11-23 20:58:46 -0500
committerJens Axboe <axboe@fb.com>2015-11-24 17:24:25 -0500
commit1fe8f348416b3fb35ea3f24fa92bb1d29ffe7b0b (patch)
treee4c9efd58110467bfad713592d69ee1e84188a61 /block
parentd674d4145e1909e0e4c394bb2633ef73d539bd27 (diff)
block: do not initialise statics to 0 or NULL
This patch fixes the checkpatch.pl error to genhd.c: ERROR: do not initialise statics 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')
-rw-r--r--block/genhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index e5cafa51567c..78140b4eea4d 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1421,7 +1421,7 @@ static DEFINE_MUTEX(disk_events_mutex);
1421static LIST_HEAD(disk_events); 1421static LIST_HEAD(disk_events);
1422 1422
1423/* disable in-kernel polling by default */ 1423/* disable in-kernel polling by default */
1424static unsigned long disk_events_dfl_poll_msecs = 0; 1424static unsigned long disk_events_dfl_poll_msecs;
1425 1425
1426static unsigned long disk_events_poll_jiffies(struct gendisk *disk) 1426static unsigned long disk_events_poll_jiffies(struct gendisk *disk)
1427{ 1427{