summaryrefslogtreecommitdiff
path: root/backend/u12-hw.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/u12-hw.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
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);