dix: Merge AbortDDX into ddxGiveUp

These are so close to identical that most DDXes implement one in terms
of the other. All the relevant cases can be distinguished by the error
code, so merge the functions together to make things simpler.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson
2017-11-20 14:28:13 -05:00
parent d78ac2f159
commit a23eba2a91
13 changed files with 39 additions and 122 deletions

View File

@@ -550,8 +550,6 @@ enum ExitCode {
EXIT_ERR_DRIVERS = 3,
};
extern _X_EXPORT void
AbortDDX(enum ExitCode error);
extern _X_EXPORT void
ddxGiveUp(enum ExitCode error);
extern _X_EXPORT int