From: Wei Tang Date: Tue, 24 Nov 2015 01:58:46 +0000 (+0800) Subject: block: do not initialise statics to 0 or NULL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1fe8f348416b3fb35ea3f24fa92bb1d29ffe7b0b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Jens Axboe --- 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); static LIST_HEAD(disk_events); /* disable in-kernel polling by default */ -static unsigned long disk_events_dfl_poll_msecs = 0; +static unsigned long disk_events_dfl_poll_msecs; static unsigned long disk_events_poll_jiffies(struct gendisk *disk) {