diff options
author | 2017-02-09 17:36:50 +0530 | |
---|---|---|
committer | 2017-02-14 09:08:30 -0800 | |
commit | 2c9c5f5a7310b62af66d7ecf6486371626b9ebf0 (patch) | |
tree | a97a05904db7e46b51ced050ad7eb5a7617461cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: comedi: dyna_pci10xx: usleep_range is preferred over udelay (diff) | |
download | linux-rng-2c9c5f5a7310b62af66d7ecf6486371626b9ebf0.tar.xz linux-rng-2c9c5f5a7310b62af66d7ecf6486371626b9ebf0.zip |
staging: comedi: ni_pcimio: remove unused variable 'serial_number'
The struct 'ni_private' holds the variable 'serial_number' which post
assignment is never used. Remove the variable and code pertaining to
obtaining its value.
As a side note, this also fixes the following sparse error:
drivers/staging/comedi/drivers//ni_pcimio.c:1229:32: warning: incorrect type in assignment (different base types)
drivers/staging/comedi/drivers//ni_pcimio.c:1229:32: expected restricted __be32 [usertype] serial_number
drivers/staging/comedi/drivers//ni_pcimio.c:1229:32: got unsigned int
Signed-off-by: Karthik Nayak <Karthik.188@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions