remove set but not used variable
authorChristos Zoulas <christos@zoulas.com>
Sat, 17 Jan 2015 17:45:22 +0000 (12:45 -0500)
committerChristos Zoulas <christos@zoulas.com>
Sat, 17 Jan 2015 17:45:22 +0000 (12:45 -0500)
amd/amfs_generic.c

index 25d734bbde0094f211a3b9184d6cdb28d1dd0a70..c352a322b22ce7d819415a66421c19e2d0d4753a 100644 (file)
@@ -1153,7 +1153,6 @@ amfs_generic_lookup_child(am_node *mp, char *fname, int *error_return, int op)
 {
   am_node *new_mp;
   am_loc **al_array;
-  int mp_error;
 
   dlog("in amfs_generic_lookup_child");
 
@@ -1178,9 +1177,6 @@ amfs_generic_lookup_child(am_node *mp, char *fname, int *error_return, int op)
     return new_mp;
   }
 
-  /* save error_return */
-  mp_error = *error_return;
-
   al_array = amfs_lookup_loc(new_mp, error_return);
   if (!al_array) {
     new_mp->am_error = new_mp->am_al->al_mnt->mf_error = *error_return;