> -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: Thursday, October 22, 2020 9:08 AM > To: dev@dpdk.org > Cc: Van Haaren, Harry <harry.van.haa...@intel.com> > 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 <david.march...@redhat.com>
Simplifies logic - thanks: Acked-by: Harry van Haaren <harry.van.haa...@intel.com>