All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] Staging: lustre: Remove extern in .c file
@ 2015-03-02 22:03 Haneen Mohammed
  2015-03-03 17:03 ` [Outreachy kernel] " Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Haneen Mohammed @ 2015-03-02 22:03 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Haneen Mohammed

This patch removes extern from .c file; for The variable is not used
anywhere else in the file.
Issue addressed by checkpatch.pl.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
---
v4: remove extern declaration from .h

 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
index d20d277..3d264e9 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
@@ -141,8 +141,6 @@
  */
 #define LDLM_POOL_SLV_SHIFT (10)
 
-extern struct proc_dir_entry *ldlm_ns_proc_dir;
-
 static inline __u64 dru(__u64 val, __u32 shift, int round_up)
 {
 	return (val + (round_up ? (1 << shift) - 1 : 0)) >> shift;
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-21 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02 22:03 [PATCH v4] Staging: lustre: Remove extern in .c file Haneen Mohammed
2015-03-03 17:03 ` [Outreachy kernel] " Greg KH
2015-03-21  5:51   ` [PATCH v5] Staging: lustre: remove " Haneen Mohammed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.