traceeval: Remove free_results()
PATCH 1/1 traceeval: Remove free_results()
From: "Steven Rostedt (Google)" <[email protected]>
The static function free_results() was never used. I kept it around for when I was going to add it (and to remind myself not to forgot about it, which is why I left the warning). But now that the code is being rewritten, there's no more need to keep he warning around to remind me to attach it. Get rid of it, all that code is going away anyway.
--- src/trace-analysis.c | 6 ------ 1 file changed, 6 deletions(-)
src/trace-analysis.c +0 -6
@@ -197,12 +197,6 @@ static int cmp_keys(struct traceeval_key_info_array *tarray,return 0 ; } -static void free_results (struct traceeval *teval) -{ -free (teval->results); - teval->results =NULL ; -} -static int make_key (struct traceeval *teval,const struct traceeval_key *keys,int *err) {struct traceeval_key_info *kinfo;
Signature · 1 line
2.40.1
Quoted 9 lines · Steven Rostedt
From: "Steven Rostedt (Google)" <[email protected]>
The static function
free_results()was never used. I kept it around for when I was going to add it (and to remind myself not to forgot about it, which is why I left the warning). But now that the code is being rewritten, there's no more need to keep he warning around to remind me to attach it. Get rid of it, all that code is going away anyway.Signed-off-by Steven Rostedt (Google) <[email protected]>