aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2014-11-12 11:35:48 -0500
committerSteven Rostedt <[email protected]>2014-11-19 15:25:39 -0500
commitf4a1d08ce65d7156504f2f0eac26f47dfc9120e6 (patch)
treea346ee16752fcbb8a8c97ab7a980a0ea80cc15c6 /net/lapb/lapb_timer.c
parent19a7fe206232cc875a3083211e0a21c08edd756e (diff)
blktrace/tracing: Use trace_seq_has_overflowed() helper function
Checking the return code of every trace_seq_printf() operation and having to return early if it overflowed makes the code messy. Using the new trace_seq_has_overflowed() and trace_handle_return() functions allows us to clean up the code. In the future, trace_seq_printf() and friends will be turning into void functions and not returning a value. The trace_seq_has_overflowed() is to be used instead. This cleanup allows that change to take place. Cc: Jens Axboe <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions