Skip to contentSkip to conversation

Remove unused variable

Cluster-devel Steven Whitehouse 1 participant 1 message Jan 3, 2008 GFS2 file system

lore
Share & tools
lore
#0 lore raw

From c6c1c7c8f68d98958a34a03b011e62f6f327656d Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
Date: Wed, 2 Jan 2008 10:16:56 +0000
Subject: [PATCH] [GFS2] Remove unused variable

The go_drop_th function is never called or referenced.

fs/gfs2/incore.h +0 -1
index 9a83429..c85f4fd 100644
@@ -131,7 +131,6 @@ struct gfs2_bufdata {
 struct gfs2_glock_operations {
 	void (*go_xmote_th) (struct gfs2_glock *gl);
 	void (*go_xmote_bh) (struct gfs2_glock *gl);
-	void (*go_drop_th) (struct gfs2_glock *gl);
 	void (*go_inval) (struct gfs2_glock *gl, int flags);
 	int (*go_demote_ok) (struct gfs2_glock *gl);
 	int (*go_lock) (struct gfs2_holder *gh);
Signature · 1 line
1.5.1.2