staging: comedi: me_daq: replace 'result' and 'error' with 'ret'
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 22:06:20 +0000 (15:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:20:01 +0000 (09:20 -0700)
commit4bb153b4e4f9e11ac7e9b58d3957dba9a3c3fd2e
treedfb3ab28f169451de58aa59854f63371d43bfabd
parent52c4cbe94c3ce0a643ad57f68cafae88249c03a1
staging: comedi: me_daq: replace 'result' and 'error' with 'ret'

Two local variables are used in me_attach_pci() to check for errors
when calling other functions, 'result' and 'error'. Remove both of
them and just use a common 'ret' variable.

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