> -----Original Message----- > From: David Marchand <[email protected]> > Sent: Thursday, October 22, 2020 9:08 AM > To: [email protected] > Cc: Van Haaren, Harry <[email protected]> > Subject: [PATCH] service: separate dump and reset code > > No functional change intended. > > service_dump_calls_per_lcore() was always called with a 0 reset flag. > service_dump_one() was called with either a 0 reset flag or a NULL > FILE pointer. > > We can split the code for readability sake. > > Note: there is no path to resetting calls_per_service[], this is left as > is. > > Signed-off-by: David Marchand <[email protected]>
Simplifies logic - thanks: Acked-by: Harry van Haaren <[email protected]>

