[08/38] trace-cmd: Remove unused structure tracecmd_msg_error
diff mbox series

Message ID 20180103175335.917290427@goodmis.org
State New, archived
Headers show
Series
  • trace-cmd: Simplify the msg handling
Related show

Commit Message

Steven Rostedt Jan. 3, 2018, 5:52 p.m. UTC
From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>

The structure tracecmd_msg_error is not used, remove it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 trace-msg.c | 11 -----------
 1 file changed, 11 deletions(-)

Patch
diff mbox series

diff --git a/trace-msg.c b/trace-msg.c
index 5e941ed9829e..09202d930ace 100644
--- a/trace-msg.c
+++ b/trace-msg.c
@@ -97,16 +97,6 @@  struct tracecmd_msg_meta {
 	void *buf;
 } __attribute__((packed));
 
-struct tracecmd_msg_error {
-	be32 size;
-	be32 cmd;
-	union {
-		struct tracecmd_msg_tinit tinit;
-		struct tracecmd_msg_rinit rinit;
-		struct tracecmd_msg_meta meta;
-	} data;
-} __attribute__((packed));
-
 enum tracecmd_msg_cmd {
 	MSG_CLOSE	= 1,
 	MSG_TINIT	= 4,
@@ -122,7 +112,6 @@  struct tracecmd_msg {
 		struct tracecmd_msg_tinit tinit;
 		struct tracecmd_msg_rinit rinit;
 		struct tracecmd_msg_meta meta;
-		struct tracecmd_msg_error err;
 	};
 } __attribute__((packed));