This patch fixes the checkpatch.pl error to inotify_fsnotify.c: ERROR: do not initialise statics to false
Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- fs/notify/inotify/inotify_fsnotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c index 2cd900c..09c5393 100644 --- a/fs/notify/inotify/inotify_fsnotify.c +++ b/fs/notify/inotify/inotify_fsnotify.c @@ -136,7 +136,7 @@ static int idr_callback(int id, void *p, void *data) { struct fsnotify_mark *fsn_mark; struct inotify_inode_mark *i_mark; - static bool warned = false; + static bool warned; if (warned) return 0; -- 1.9.1