Skip to content

Commit 92b4076

Browse files
henryZedchinner
authored andcommitted
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 <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
1 parent 78b0f58 commit 92b4076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/xfs/xfs_stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static int xqmstat_proc_show(struct seq_file *m, void *v)
125125
{
126126
int j;
127127

128-
seq_printf(m, "qm");
128+
seq_puts(m, "qm");
129129
for (j = XFSSTAT_START_XQMSTAT; j < XFSSTAT_END_XQMSTAT; j++)
130130
seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j));
131131
seq_putc(m, '\n');

0 commit comments

Comments
 (0)