diff options
| author | Kelley Nielsen <kelleynnn@gmail.com> | 2013-11-05 21:36:55 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-10 07:53:48 -0800 |
| commit | d5ae3c482df04a74e03ed944f33209178adaf03f (patch) | |
| tree | 50ccdbd12bb8b6cdf45110c05b79253ceafcce65 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 46d981557b7429b2d03c56634f11cffe5cd8ed97 (diff) | |
staging: ft1000: remove unused variable nxtph
The function ft1000_poll, in ft1000_hw.c, is overly complex, with at
least five different levels of nesting. While preparing to extract one
of the cases to its own function, I discovered that the variable nxtph
is not used. It is declared and assigned a value in ft1000_poll(), then
passed by reference to the helper function ft1000_receive_command(),
which receives it as parameter. pnxtph does not appear in the body of
this function. Remove all occurrences of nxtph and pnxtph.
Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions
