[Pushed,as,obvious,2/3] gdbserver: remove an obsolete comment in tracepoint.cc

Message ID 20250115163020.3292754-2-tankut.baris.aktemur@intel.com
State New
Headers
Series [Pushed,as,obvious,1/3] gdbserver: remove forward declaration of struct tracepoint_hit_ctx |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Aktemur, Tankut Baris Jan. 15, 2025, 4:30 p.m. UTC
  The comment

  /* Functions local to this file.  */

has somehow been positioned above struct definitions, not functions.
Some static function declarations are given after the structs, to
where the comment could be moved, but the comment is not really
helpful.  Therefore remove it.
---
 gdbserver/tracepoint.cc | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/gdbserver/tracepoint.cc b/gdbserver/tracepoint.cc
index 2e3960ec2e2..1395c70ad39 100644
--- a/gdbserver/tracepoint.cc
+++ b/gdbserver/tracepoint.cc
@@ -1169,8 +1169,6 @@  static char *tracing_stop_note;
 
 #endif
 
-/* Functions local to this file.  */
-
 /* Base "class" for tracepoint type specific data to be passed down to
    collect_data_at_tracepoint.  */
 struct tracepoint_hit_ctx