forked from Minki/linux
xfs: replace unnecessary seq_printf with seq_puts
Replace seq_printf with seq_puts when const string in reference, which would avoid to deal with unnecessary string format. Signed-off-by: Zeng Heng <zengheng4@huawei.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
parent
78b0f58bdf
commit
92b40768c1
@ -125,7 +125,7 @@ static int xqmstat_proc_show(struct seq_file *m, void *v)
|
||||
{
|
||||
int j;
|
||||
|
||||
seq_printf(m, "qm");
|
||||
seq_puts(m, "qm");
|
||||
for (j = XFSSTAT_START_XQMSTAT; j < XFSSTAT_END_XQMSTAT; j++)
|
||||
seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j));
|
||||
seq_putc(m, '\n');
|
||||
|
Loading…
Reference in New Issue
Block a user