summaryrefslogtreecommitdiff
path: root/backend/epson2-ops.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /backend/epson2-ops.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/epson2-ops.c')
-rw-r--r--backend/epson2-ops.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/backend/epson2-ops.c b/backend/epson2-ops.c
index eac01b0..1ba2292 100644
--- a/backend/epson2-ops.c
+++ b/backend/epson2-ops.c
@@ -2087,7 +2087,6 @@ e2_block_read(struct Epson_Scanner *s)
{
SANE_Status status;
SANE_Bool reorder = SANE_FALSE;
- SANE_Bool needStrangeReorder = SANE_FALSE;
START_READ:
DBG(18, "%s: begin\n", __func__);
@@ -2150,22 +2149,6 @@ e2_block_read(struct Epson_Scanner *s)
*/
/*
- * Some scanners (e.g. the Perfection 1640 and GT-2200) seem
- * to have the R and G channels swapped.
- * The GT-8700 is the Asian version of the Perfection 1640.
- * If the scanner name is one of these and the scan mode is
- * RGB then swap the colors.
- */
-
- /* never used, beta testers required */
- needStrangeReorder =
- (strstr(s->hw->model, "GT-2200") ||
- ((strstr(s->hw->model, "1640")
- && strstr(s->hw->model, "Perfection"))
- || strstr(s->hw->model, "GT-8700")))
- && s->params.format == SANE_FRAME_RGB;
-
- /*
* Certain Perfection 1650 also need this re-ordering of the two
* color channels. These scanners are identified by the problem
* with the half vertical scanning area. When we corrected this,