commit | 73cc86252bd8a547349d2856497eceaf4f2d1766 | [log] [tgz] |
---|---|---|
author | Bob Peterson <rpeterso@redhat.com> | Fri Apr 01 13:18:38 2016 -0400 |
committer | Bob Peterson <rpeterso@redhat.com> | Tue Apr 05 11:59:18 2016 -0400 |
tree | 6dda7db9bc8ed1be8e252219e58b1f84539a6302 | |
parent | 3e11e530415027a57936545957126aff49267b76 [diff] |
GFS2: Get rid of dead code in inode_go_demote_ok Function inode_go_demote_ok had some code that was only executed if gl_holders was not empty. However, if gl_holders was not empty, the only caller, demote_ok(), returns before inode_go_demote_ok would ever be called. Therefore, it's dead code, so I removed it. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Acked-by: Steven Whitehouse <swhiteho@redhat.com>