summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2024-01-11 13:56:26 -0800
committerRoman Kiryanov <rkir@google.com>2024-01-12 10:48:12 -0800
commitb9e0d71fab9abecc603649d505b2dc5da00d4cf1 (patch)
tree2c22eb4e17096e0676dbabd84f4f32e3a38082b4
parent733b2221722aab6e386c1210fea8d4d869c8ceae (diff)
downloadvirtual-device-b9e0d71fab9abecc603649d505b2dc5da00d4cf1.tar.gz
Retire unused enum from goldfish_pipe
Bug: 319713048 Test: presubmit Change-Id: Id8b42105c09a24e028f1e05e981453e455f0cc6c Signed-off-by: Roman Kiryanov <rkir@google.com>
-rw-r--r--goldfish_drivers/goldfish_pipe_qemu.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/goldfish_drivers/goldfish_pipe_qemu.h b/goldfish_drivers/goldfish_pipe_qemu.h
index 134c32c..e0d1e03 100644
--- a/goldfish_drivers/goldfish_pipe_qemu.h
+++ b/goldfish_drivers/goldfish_pipe_qemu.h
@@ -54,21 +54,6 @@ enum PipeWakeFlags {
PIPE_WAKE_UNLOCK_DMA_SHARED = 1 << 4,
};
-/* Possible pipe closing reasons */
-enum PipeCloseReason {
- /* guest sent a close command */
- PIPE_CLOSE_GRACEFUL = 0,
-
- /* guest rebooted, we're closing the pipes */
- PIPE_CLOSE_REBOOT = 1,
-
- /* close old pipes on snapshot load */
- PIPE_CLOSE_LOAD_SNAPSHOT = 2,
-
- /* some unrecoverable error on the pipe */
- PIPE_CLOSE_ERROR = 3,
-};
-
/* Bit flags for the 'flags' field */
enum PipeFlagsBits {
BIT_CLOSED_ON_HOST = 0, /* pipe closed by host */