mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
5771a8c088
commit
3acdfd280f
3 changed files with 9 additions and 19 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue