Skip to content

Commit ea79376

Browse files
paulmckrcuNeeraj Upadhyay
authored andcommitted
rcuscale: Save a few lines with whitespace-only change
This whitespace-only commit fuses a few lines of code, taking advantage of the newish 100-character-per-line limit to save a few lines of code. Signed-off-by: "Paul E. McKenney" <[email protected]> Signed-off-by: Neeraj Upadhyay <[email protected]>
1 parent 4e39bb4 commit ea79376

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

kernel/rcu/rcuscale.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,13 +1015,9 @@ rcu_scale_init(void)
10151015
}
10161016
while (atomic_read(&n_rcu_scale_reader_started) < nrealreaders)
10171017
schedule_timeout_uninterruptible(1);
1018-
writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]),
1019-
GFP_KERNEL);
1020-
writer_durations = kcalloc(nrealwriters, sizeof(*writer_durations),
1021-
GFP_KERNEL);
1022-
writer_n_durations =
1023-
kcalloc(nrealwriters, sizeof(*writer_n_durations),
1024-
GFP_KERNEL);
1018+
writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]), GFP_KERNEL);
1019+
writer_durations = kcalloc(nrealwriters, sizeof(*writer_durations), GFP_KERNEL);
1020+
writer_n_durations = kcalloc(nrealwriters, sizeof(*writer_n_durations), GFP_KERNEL);
10251021
if (!writer_tasks || !writer_durations || !writer_n_durations) {
10261022
SCALEOUT_ERRSTRING("out of memory");
10271023
firsterr = -ENOMEM;

0 commit comments

Comments
 (0)