diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2017-02-09 15:06:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-14 20:08:30 +0300 |
commit | 2c9c5f5a7310b62af66d7ecf6486371626b9ebf0 (patch) | |
tree | a97a05904db7e46b51ced050ad7eb5a7617461cf /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | e1ea433d6ea42f0809a3214ca04053ad776ffcb0 (diff) | |
download | linux-2c9c5f5a7310b62af66d7ecf6486371626b9ebf0.tar.xz |
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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions