summaryrefslogtreecommitdiff
path: root/backend/u12-hw.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
commit324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/u12-hw.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
Diffstat (limited to 'backend/u12-hw.c')
-rw-r--r--backend/u12-hw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/backend/u12-hw.c b/backend/u12-hw.c
index 89f37be..e21c78a 100644
--- a/backend/u12-hw.c
+++ b/backend/u12-hw.c
@@ -338,7 +338,6 @@ static void u12hw_SetGeneralRegister( U12_Device *dev )
static void u12hw_SetupPreviewCondition( U12_Device *dev )
{
int i, c;
- u_long channel;
SANE_Byte rb[100];
DBG( _DBG_INFO, "u12_SetupPreviewCondition()\n" );
@@ -389,7 +388,6 @@ static void u12hw_SetupPreviewCondition( U12_Device *dev )
else
dev->scan.bFifoSelect = REG_GFIFOOFFSET;
- channel = _BLUE_FULLSIZE << 16;
dev->regs.RD_BufFullSize = _SIZE_BLUEFIFO;
dev->regs.RD_LineControl = _LOBYTE(dev->shade.wExposure);