summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
Diffstat (limited to 'xps')
-rw-r--r--xps/xpstop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xps/xpstop.c b/xps/xpstop.c
index 6ec6d21ab..feb7a9357 100644
--- a/xps/xpstop.c
+++ b/xps/xpstop.c
@@ -165,10 +165,6 @@ xps_imp_set_device(pl_interp_implementation_t *impl, gx_device *pdevice)
gs_c_param_list list;
int code;
- code = gs_opendevice(pdevice);
- if (code < 0)
- goto cleanup_setdevice;
-
code = gs_setdevice_no_erase(ctx->pgs, pdevice);
if (code < 0)
goto cleanup_setdevice;