mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
hv_balloon: Simplify data output in hv_balloon_debug_show()
Move the specification for a line break from a seq_puts() call to a seq_printf() call. The source code was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Sahil Chandna <sahilchandna@linux.microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
This commit is contained in:
parent
982cb55bec
commit
145613eb15
|
|
@ -1862,9 +1862,7 @@ static int hv_balloon_debug_show(struct seq_file *f, void *offset)
|
|||
if (hot_add_enabled())
|
||||
seq_puts(f, " hot_add");
|
||||
|
||||
seq_puts(f, "\n");
|
||||
|
||||
seq_printf(f, "%-22s: %u", "state", dm->state);
|
||||
seq_printf(f, "\n%-22s: %u", "state", dm->state);
|
||||
switch (dm->state) {
|
||||
case DM_INITIALIZING:
|
||||
sname = "Initializing";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user