Commit 44767c35 authored by David Howells's avatar David Howells

afs: Remove afs_operation::abort_code

Remove afs_operation::abort_code as it's read but never set.  Use
ac.abort_code instead.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 9bd87ec6
...@@ -648,7 +648,7 @@ static void afs_do_lookup_success(struct afs_operation *op) ...@@ -648,7 +648,7 @@ static void afs_do_lookup_success(struct afs_operation *op)
vp = &op->file[0]; vp = &op->file[0];
abort_code = vp->scb.status.abort_code; abort_code = vp->scb.status.abort_code;
if (abort_code != 0) { if (abort_code != 0) {
op->abort_code = abort_code; op->ac.abort_code = abort_code;
op->error = afs_abort_to_error(abort_code); op->error = afs_abort_to_error(abort_code);
} }
break; break;
......
...@@ -771,7 +771,6 @@ struct afs_operation { ...@@ -771,7 +771,6 @@ struct afs_operation {
struct timespec64 ctime; /* Change time to set */ struct timespec64 ctime; /* Change time to set */
short nr_files; /* Number of entries in file[], more_files */ short nr_files; /* Number of entries in file[], more_files */
short error; short error;
unsigned int abort_code;
unsigned int debug_id; unsigned int debug_id;
unsigned int cb_v_break; /* Volume break counter before op */ unsigned int cb_v_break; /* Volume break counter before op */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment