mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
staging: lustre: ptlrpc: Replace seq_printf() with seq_putc()
Replace seq_printf() with seq_putc() since it is more expensive than seq_putc(). Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
70003e6520
commit
8d816fb6cd
1 changed files with 1 additions and 1 deletions
|
|
@ -928,7 +928,7 @@ static int ptlrpc_lprocfs_svc_req_history_show(struct seq_file *s, void *iter)
|
|||
(long)(req->rq_sent - req->rq_arrival_time.tv_sec),
|
||||
(long)(req->rq_sent - req->rq_deadline));
|
||||
if (svc->srv_ops.so_req_printer == NULL)
|
||||
seq_printf(s, "\n");
|
||||
seq_putc(s, '\n');
|
||||
else
|
||||
svc->srv_ops.so_req_printer(s, srhi->srhi_req);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue