diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-07-24 13:22:15 +0300 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-26 19:24:36 +0300 |
commit | 3acdfd280fe7d807237f2cb7a09d6f8f7f1b484f (patch) | |
tree | 80a7c666a0055b2c21b72736a14cc10d58af2e81 /include/linux/errseq.h | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | linux-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.h | 9 |
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); |