Skip to content

Commit 69f0b3d

Browse files
pseidererNipaLocal
authored and
NipaLocal
committed
net: pktgen: fix code style (ERROR: else should follow close brace '}')
Fix checkpatch code style errors: ERROR: else should follow close brace '}' kernel-patches#1311: FILE: net/core/pktgen.c:1311: + } + else Signed-off-by: Peter Seiderer <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 4873066 commit 69f0b3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

net/core/pktgen.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,8 +1307,7 @@ static ssize_t pktgen_if_write(struct file *file,
13071307
put_page(pkt_dev->page);
13081308
pkt_dev->page = NULL;
13091309
}
1310-
}
1311-
else
1310+
} else
13121311
sprintf(pg_result, "ERROR: node not possible");
13131312
return count;
13141313
}

0 commit comments

Comments
 (0)