summaryrefslogtreecommitdiff
path: root/include/linux/errseq.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-07-24 13:22:15 +0300
committerJeff Layton <jlayton@redhat.com>2017-07-26 19:24:36 +0300
commit3acdfd280fe7d807237f2cb7a09d6f8f7f1b484f (patch)
tree80a7c666a0055b2c21b72736a14cc10d58af2e81 /include/linux/errseq.h
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadlinux-3acdfd280fe7d807237f2cb7a09d6f8f7f1b484f.tar.xz
errseq: rename __errseq_set to errseq_set
Nothing calls this wrapper anymore, so just remove it and rename the old function to get rid of the double underscore prefix. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'include/linux/errseq.h')
-rw-r--r--include/linux/errseq.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linux/errseq.h b/include/linux/errseq.h
index 9e0d444ac88d..784f0860527b 100644
--- a/include/linux/errseq.h
+++ b/include/linux/errseq.h
@@ -5,14 +5,7 @@
typedef u32 errseq_t;
-errseq_t __errseq_set(errseq_t *eseq, int err);
-static inline void errseq_set(errseq_t *eseq, int err)
-{
- /* Optimize for the common case of no error */
- if (unlikely(err))
- __errseq_set(eseq, err);
-}
-
+errseq_t errseq_set(errseq_t *eseq, int err);
errseq_t errseq_sample(errseq_t *eseq);
int errseq_check(errseq_t *eseq, errseq_t since);
int errseq_check_and_advance(errseq_t *eseq, errseq_t *since);