diff options
author | John Stultz <john.stultz@linaro.org> | 2015-01-07 14:24:28 -0800 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-02-19 19:54:51 -0600 |
commit | f93aae9f8d30fc96fc57740f5e9260cf719c39d9 (patch) | |
tree | e813e7bc3e15da14657f8c68395b11a61716359d /mm/quicklist.c | |
parent | 31013fa92c3a334f45dc13f4fffd5a7f0d5edca6 (diff) | |
download | op-kernel-dev-f93aae9f8d30fc96fc57740f5e9260cf719c39d9.zip op-kernel-dev-f93aae9f8d30fc96fc57740f5e9260cf719c39d9.tar.gz |
ipmi: Cleanup DEBUG_TIMING ifdef usage
The driver uses #ifdef DEBUG_TIMING in order to conditionally print out
timestamped debug messages. Unfortunately it adds the ifdefs all over the
usage sites.
This patch cleans it up by adding a debug_timestamp() function which
is compiled out if DEBUG_TIMING isn't present. This cleans up all
the ugly ifdefs in the function logic.
Cc: openipmi-developer@lists.sourceforge.net
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Corey Minyard <minyard@mvista.com>
Diffstat (limited to 'mm/quicklist.c')
0 files changed, 0 insertions, 0 deletions