diff options
author | John Stultz <[email protected]> | 2015-01-07 14:24:28 -0800 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2015-02-19 19:54:51 -0600 |
commit | f93aae9f8d30fc96fc57740f5e9260cf719c39d9 (patch) | |
tree | e813e7bc3e15da14657f8c68395b11a61716359d /net/lapb/lapb_iface.c | |
parent | 31013fa92c3a334f45dc13f4fffd5a7f0d5edca6 (diff) |
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: [email protected]
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions