summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-13 04:05:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 10:28:36 -0800
commit2c370d9512c4ea0929e87cb18a2308d9422a350a (patch)
treed9e6490104a38cbfc43843b72b0bae8ef31a4d54 /tools/perf/scripts/python
parent8a26aefda17d7fdf0bdfb505b6366a7051e7fb1a (diff)
staging/rtl8187se: Reuse ReadBBPortUchar to avoid duplicated code
WriteBBPortUchar reimplements ReadBBPortUchar in its body, so we can remove the duplicated code by calling ReadBBPortUchar directly. Unfortunately we have to move ReadBBPortUchar around; while at it we can also get rid of the temporary variable for the return value. Also we can remove the local variables UCharData and RegisterContent in WriteBBPortUchar as they are not used / without effect. Both functions are only 'local' so we can mark them as static. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions