diff options
author | Sachidananda <sac@gluster.com> | 2010-07-19 05:51:46 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-19 05:11:00 -0700 |
commit | 87ec1b72dac8f50f9eb4ba3b127baca19993ae94 (patch) | |
tree | 27e2fadc4307e102afcf4e44069788c8528b0d8c | |
parent | d20bf5113875b694b9dae0b75261feafc243c004 (diff) |
Dead variables cleanup.
Signed-off-by: Sachidananda Urs <sac@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1140 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1140
-rw-r--r-- | libglusterfs/src/inode.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c index a56256299..ba5460de4 100644 --- a/libglusterfs/src/inode.c +++ b/libglusterfs/src/inode.c @@ -313,9 +313,6 @@ __inode_passivate (inode_t *inode) { dentry_t *dentry = NULL; dentry_t *t = NULL; - inode_table_t *table = NULL; - - table = inode->table; list_move_tail (&inode->list, &inode->table->lru); inode->table->lru_size++; @@ -332,9 +329,6 @@ __inode_retire (inode_t *inode) { dentry_t *dentry = NULL; dentry_t *t = NULL; - inode_table_t *table = NULL; - - table = inode->table; list_move_tail (&inode->list, &inode->table->purge); inode->table->purge_size++; @@ -1138,7 +1132,7 @@ inode_from_path (inode_table_t *itable, const char *path) curr = inode_grep (itable, parent, component); if (curr == NULL) { - component = strtok_r (NULL, "/", &strtokptr); + strtok_r (NULL, "/", &strtokptr); break; } |