summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-10-25 15:06:20 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-26 09:20:01 -0700
commit4bb153b4e4f9e11ac7e9b58d3957dba9a3c3fd2e (patch)
treedfb3ab28f169451de58aa59854f63371d43bfabd /scripts/checkpatch.pl
parent52c4cbe94c3ce0a643ad57f68cafae88249c03a1 (diff)
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>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions