aboutsummaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-05-31 12:27:56 +0200
committerIngo Molnar <mingo@kernel.org>2018-05-31 12:27:56 +0200
commitc52b5c5f96b217854a953689f65234f7448c7f47 (patch)
treecb9e41e3c25965e550b28f5aa5467cce5983125a /fs/seq_file.c
parentperf/x86: Store user space frame-pointer value on a sample (diff)
parentMerge tag 'nds32-for-linus-4.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux (diff)
downloadlinux-dev-c52b5c5f96b217854a953689f65234f7448c7f47.tar.xz
linux-dev-c52b5c5f96b217854a953689f65234f7448c7f47.zip
Merge branch 'linus' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r--fs/seq_file.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c
index c6c27f1f9c98..4cc090b50cc5 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -709,11 +709,6 @@ void seq_put_decimal_ull_width(struct seq_file *m, const char *delimiter,
if (m->count + width >= m->size)
goto overflow;
- if (num < 10) {
- m->buf[m->count++] = num + '0';
- return;
- }
-
len = num_to_str(m->buf + m->count, m->size - m->count, num, width);
if (!len)
goto overflow;