Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754072AbbHJNza (ORCPT ); Mon, 10 Aug 2015 09:55:30 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33588 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323AbbHJNz3 (ORCPT ); Mon, 10 Aug 2015 09:55:29 -0400 From: Swee Hua Law To: oleg.drokin@intel.com, andreas.dilger@intel.com, gregkh@linuxfoundation.org Cc: elfring@users.sourceforge.net, linux.kernel@junien.fridrick.net, Julia.Lawall@lip6.fr, sweehua81@gmail.com, HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 1/4] staging: lustre: checkpatch: do not init global to NULL Date: Mon, 10 Aug 2015 21:54:15 +0800 Message-Id: <1439214858-2994-2-git-send-email-sweehua81@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439214858-2994-1-git-send-email-sweehua81@gmail.com> References: <1439135314-4020-1-git-send-email-sweehua81@gmail.com> <1439214858-2994-1-git-send-email-sweehua81@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 30 Fix checkpatch problem: remove NULL assignment fro global variable Signed-off-by: Swee Hua Law --- drivers/staging/lustre/lustre/llite/remote_perm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/remote_perm.c b/drivers/staging/lustre/lustre/llite/remote_perm.c index a581826..c9a7816 100644 --- a/drivers/staging/lustre/lustre/llite/remote_perm.c +++ b/drivers/staging/lustre/lustre/llite/remote_perm.c @@ -54,8 +54,8 @@ #include "../include/lustre_param.h" #include "llite_internal.h" -struct kmem_cache *ll_remote_perm_cachep = NULL; -struct kmem_cache *ll_rmtperm_hash_cachep = NULL; +struct kmem_cache *ll_remote_perm_cachep; +struct kmem_cache *ll_rmtperm_hash_cachep; static inline struct ll_remote_perm *alloc_ll_remote_perm(void) { -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/