diff options
author | 2012-09-24 13:22:50 -0700 | |
---|---|---|
committer | 2012-09-26 09:37:30 -0700 | |
commit | 41f821d07729d1c3d59d1ebebf4c57e2ffe0a37c (patch) | |
tree | c3244278ad8f193adbb9a52b5a836a52cd0a092a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: comedi: s626: use dev->board_name for resource name (diff) | |
download | linux-dev-41f821d07729d1c3d59d1ebebf4c57e2ffe0a37c.tar.xz linux-dev-41f821d07729d1c3d59d1ebebf4c57e2ffe0a37c.zip |
staging: comedi: s626: remove unneeded local variable in attach_pci()
The 'result' variable is only used to check the return from
comedi_pci_enable(). Just reuse the 'ret' variable.
Also, remove the kernel noise and use the error code from
comedi_pci_enable() instead of returning -ENODEV.
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions