File fixup-gdb-linux_perf-bundle.patch of Package gdb.29149

diff --git a/gdb/gdb.c b/gdb/gdb.c
index 82e9e6da210..b5e28445630 100644
--- a/gdb/gdb.c
+++ b/gdb/gdb.c
@@ -20,19 +20,11 @@
 #include "main.h"
 #include "interps.h"
 
-#ifdef PERF_ATTR_SIZE_VER5_BUNDLE
-extern "C" void __libipt_init(void);
-#endif
-
 int
 main (int argc, char **argv)
 {
   struct captured_main_args args;
 
-#ifdef PERF_ATTR_SIZE_VER5_BUNDLE
-  __libipt_init();
-#endif
-
   memset (&args, 0, sizeof args);
   args.argc = argc;
   args.argv = argv;
openSUSE Build Service is sponsored by