staging: comedi: s626: remove a variable from set_mode_a() and _b()
authorIan Abbott <abbotti@mev.co.uk>
Tue, 8 Oct 2013 18:06:27 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:34:19 +0000 (15:34 -0700)
commitcffd7ab94613d2ec818b64ef8dd7f56b625e1aa2
tree5124a13c21885ac01667f65436717df436614dba
parentb075ac8e9361b309eb12fc7b4e91a2f5f156909f
staging: comedi: s626: remove a variable from set_mode_a() and _b()

The `set_mode_a()` and `set_mode_b()` functions use a local variable
`setup` which is initialized to the value of parameter `Setup` which is
not used further.  Get rid of the local variable and rename the
parameter to `setup`.

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