diff options
author | John Stultz <john.stultz@linaro.org> | 2015-01-07 23:24:28 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-02-20 02:54:51 +0100 |
commit | f93aae9f8d30fc96fc57740f5e9260cf719c39d9 (patch) | |
tree | e813e7bc3e15da14657f8c68395b11a61716359d /drivers/parport | |
parent | drivers:char:ipmi: Remove unneeded FIXME comment in the file,ipmi_si_intf.c (diff) | |
download | linux-f93aae9f8d30fc96fc57740f5e9260cf719c39d9.tar.xz linux-f93aae9f8d30fc96fc57740f5e9260cf719c39d9.zip |
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 'drivers/parport')
0 files changed, 0 insertions, 0 deletions