protocol: remove an unused sub-surface error code
This was left over from allowing nesting.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/protocol/subsurface.xml b/protocol/subsurface.xml
index 8db0495..4407fd7 100644
--- a/protocol/subsurface.xml
+++ b/protocol/subsurface.xml
@@ -60,8 +60,6 @@
<enum name="error">
<entry name="bad_surface" value="0"
summary="the to-be sub-surface is invalid"/>
- <entry name="bad_parent" value="1"
- summary="the given parent is a sub-surface"/>
</enum>
<request name="get_subsurface">