summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-13 04:05:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 10:28:37 -0800
commitaa341b6afab172b626f37b4ce6eff6d7485e400f (patch)
tree1033daf51bd08f395606d92089310af6bb5428e7 /tools/perf/scripts/python/sched-migration.py
parent2c370d9512c4ea0929e87cb18a2308d9422a350a (diff)
staging/rtl8187se: Remove temporary variable for return value
The simple PlatformIORead1Byte function doesn't need to store its return value in a temporary variable; rather simply return the value directly. By moving the function to the top we can also get rid of the forward declaration. The wrapper functions could be easily replaced by direct calls to read_nic_byte but is kept for readability. Since this functions is local only we can mark it 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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions