pan/midgard: Remove cppwrap.cpp
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 31 Aug 2019 00:30:31 +0000 (17:30 -0700)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 3 Sep 2019 11:55:21 +0000 (13:55 +0200)
It has not been used in a long time; I forgot this file even existed.
Flagged by cppcheck.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/panfrost/midgard/cppwrap.cpp [deleted file]
src/panfrost/midgard/meson.build

diff --git a/src/panfrost/midgard/cppwrap.cpp b/src/panfrost/midgard/cppwrap.cpp
deleted file mode 100644 (file)
index cf2ca3b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-struct exec_list;
-
-bool do_mat_op_to_vec(struct exec_list *instructions);
-
-extern "C" {
-       bool c_do_mat_op_to_vec(struct exec_list *instructions) {
-               return do_mat_op_to_vec(instructions);
-       }
-};
index 704d847cb4f5833fef8b5afecdc90b7a8d31f2ad..0d8722d139a9351d685faf0787cd4ab12b8af016 100644 (file)
@@ -36,7 +36,6 @@ libpanfrost_midgard_files = files(
   'midgard_opt_invert.c',
   'midgard_opt_float.c',
   'midgard_opt_perspective.c',
-  'cppwrap.cpp',
   'disassemble.c',
 )