staging: comedi: amplc_dio200: remove unnecessary local variable
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 Aug 2014 20:07:04 +0000 (13:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:10 +0000 (12:23 -0700)
commitacb165135dcf48875e44fe323aa63653785bf01c
treec6a2676a281420e1058ff68cc7e74c634cf69240
parent9e1e2739ef967a3cb60ee73cb70dfdcb0515c8d3
staging: comedi: amplc_dio200: remove unnecessary local variable

The local variable 'irq' is not necessary in dio200_attach(). Just
pass the it->options[1] value directly.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c