summaryrefslogtreecommitdiffstats
path: root/backend_mitsu9550.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-10-28 20:32:09 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-10-28 20:32:09 -0400
commit66bd8788d6af2e04d7deb5a524a52a6812ba7912 (patch)
tree106de6e75dbb18e9eaf8cfce0f024797c9ccb84c /backend_mitsu9550.c
parenta09e16644b747d078fec34496a0ba2af8fc257f2 (diff)
downloadselphy_print-66bd8788d6af2e04d7deb5a524a52a6812ba7912.tar.gz
selphy_print-66bd8788d6af2e04d7deb5a524a52a6812ba7912.tar.bz2
selphy_print-66bd8788d6af2e04d7deb5a524a52a6812ba7912.zip
misc: Documentation/comment updates and some dead code removed.
Diffstat (limited to 'backend_mitsu9550.c')
-rw-r--r--backend_mitsu9550.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/backend_mitsu9550.c b/backend_mitsu9550.c
index 76beff1..331b93c 100644
--- a/backend_mitsu9550.c
+++ b/backend_mitsu9550.c
@@ -1060,7 +1060,8 @@ static int validate_media(int type, int media, int cols, int rows)
}
break;
case P_MITSU_9800:
- case P_MITSU_9810: // XXX and don't forget the 9820S
+ case P_MITSU_9810:
+// case P_MITSU_9820S:
switch(media & 0xf) {
case 0x01: /* 3.5x5 */
if (cols != 1572 && rows != 1076)
@@ -1140,8 +1141,7 @@ static int mitsu9550_main_loop(void *vctx, const void *vjob) {
int copies = 1;
#endif
-// const struct mitsu9550_printjob *job = vjob;
- struct mitsu9550_printjob *job = (struct mitsu9550_printjob*) vjob; // XXX not good.
+ struct mitsu9550_printjob *job = (struct mitsu9550_printjob*) vjob;
if (!ctx)
return CUPS_BACKEND_FAILED;
@@ -1151,13 +1151,6 @@ static int mitsu9550_main_loop(void *vctx, const void *vjob) {
/* Okay, let's do this thing */
ptr = job->databuf;
-#if 0
- /* If hdr2 is not present, we have to generate copies ourselves! */
- if (!job->hdr2_present)
- copies = job->copies;
- // XXX..
-#endif
-
/* Do the 98xx processing here */
if (!ctx->is_98xx || job->is_raw)
goto bypass;