GFS2: Remove unnecessary if
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 GFS2: Remove unnecessary if
Hi,
This patch removes an unnecessary if in function gfs2_glock_put.
Signed-off-by Bob Peterson <[email protected]>
---
fs/gfs2/glock.c +1 -2
@@ -170,8 +170,7 @@ void gfs2_glock_put(struct gfs2_glock *gl)gfs2_glock_remove_from_lru (gl);spin_unlock (&gl->gl_lockref.lock); -if (gl->gl_node.next !=NULL ) -rhashtable_remove_fast (&gl_hash_table, &gl->gl_node, ht_parms); +rhashtable_remove_fast (&gl_hash_table, &gl->gl_node, ht_parms);GLOCK_BUG_ON (gl, !list_empty (&gl->gl_holders));GLOCK_BUG_ON (gl, mapping && mapping->nrpages);trace_gfs2_glock_put (gl);