Răsfoiți Sursa

jbd: Remove unnecessary goto statement

Remove goto statement which jumps to very next line. Also remove
target label because it is no longer used anywhere.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Namhyung Kim 14 ani în urmă
părinte
comite
2b23976908
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      fs/jbd/transaction.c

+ 0 - 2
fs/jbd/transaction.c

@@ -293,9 +293,7 @@ handle_t *journal_start(journal_t *journal, int nblocks)
 		jbd_free_handle(handle);
 		current->journal_info = NULL;
 		handle = ERR_PTR(err);
-		goto out;
 	}
-out:
 	return handle;
 }