diff options
author | David Howells <dhowells@redhat.com> | 2017-11-02 15:27:48 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-11-13 15:38:17 +0000 |
commit | f780c8ea0e73c0d371ffbebff91bb7555697219f (patch) | |
tree | 34ef3739f06a9096dc8a65c663c274929641b0bf /fs/afs/internal.h | |
parent | 3838d3ecdea496699a8c13c183d4df5dfe8e1a3e (diff) | |
download | linux-stable-f780c8ea0e73c0d371ffbebff91bb7555697219f.tar.gz linux-stable-f780c8ea0e73c0d371ffbebff91bb7555697219f.tar.bz2 linux-stable-f780c8ea0e73c0d371ffbebff91bb7555697219f.zip |
afs: Consolidate abort_to_error translators
The AFS abort code space is shared across all services, so there's no need
for separate abort_to_error translators for each service.
Consolidate them into a single function and remove the function pointers
for them.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index 4fe26bd7bfb0..ba31a386bb2d 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h @@ -120,9 +120,6 @@ struct afs_call_type { */ int (*deliver)(struct afs_call *call); - /* map an abort code to an error number */ - int (*abort_to_error)(u32 abort_code); - /* clean up a call */ void (*destructor)(struct afs_call *call); |