srcu: No need to advance/accelerate if no callback enqueued

While in grace period start, there is nothing to accelerate and
therefore no need to advance the callbacks either if no callback is
to be enqueued.

Spare these needless operations in this case.

Signed-off-by: Frederic Weisbecker <>
Reviewed-by: Joel Fernandes (Google) <>
Signed-off-by: Paul E. McKenney <>
Signed-off-by: Neeraj Upadhyay (AMD) <>
1 file changed