summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-01-07 22:24:28 (GMT)
committerCorey Minyard <cminyard@mvista.com>2015-02-20 01:54:51 (GMT)
commitf93aae9f8d30fc96fc57740f5e9260cf719c39d9 (patch)
treee813e7bc3e15da14657f8c68395b11a61716359d /drivers/tty
parent31013fa92c3a334f45dc13f4fffd5a7f0d5edca6 (diff)
downloadlinux-f93aae9f8d30fc96fc57740f5e9260cf719c39d9.tar.xz
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/tty')
0 files changed, 0 insertions, 0 deletions