Skip to content

Commit

Permalink
ndmp: Removed unneded ta->tape_fd = -1
Browse files Browse the repository at this point in the history
As this is done in ndmos_tape_initialize(sess); anyway
  • Loading branch information
pstorz authored and Marco van Wieringen committed Dec 17, 2015
1 parent 7b1404f commit 30139df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/stored/ndmp_tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,6 @@ extern "C" ndmp9_error bndmp_tape_close(struct ndm_session *sess)

pthread_cond_signal(&jcr->job_end_wait); /* wake any waiting thread */

ta->tape_fd = -1;
ndmos_tape_initialize(sess);

return err;
Expand Down

0 comments on commit 30139df

Please sign in to comment.