diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-05 00:29:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-05 11:16:21 -0800 |
commit | 0141bb2ed95d87cbcc53ebd282b943d061881fce (patch) | |
tree | e492395fb23f7d4811d334d07fbe4bf4e2256f22 /tools/perf/scripts/python/syscall-counts.py | |
parent | 227dc1156c103b7e073ee81e642e15d7927af828 (diff) |
staging/xgifb: Move duplicated code for dram to helper function
XGINew_SetDRAMDefaultRegister340 uses the same code fragment 4 times
with only a slight variation each time.
-> Move this code to a helper function - this saves some lines and
~450bytes in the .o / .ko
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions