aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorXiao Guangrong <[email protected]>2009-07-15 12:32:15 +0800
committerFrederic Weisbecker <[email protected]>2009-07-17 00:37:53 -0400
commit64fbcd162819bddaf0d99e78b16371b655aa5dee (patch)
treeabc34dd23386f13675502455d99d868b9b63173e /net/lapb/lapb_iface.c
parentda706d8bc833e7153622435560422e653bdb2e94 (diff)
tracing/function: Simplify __ftrace_replace_code()
Rewrite the __ftrace_replace_code() function, simplify it, but don't change the code's logic. First, we get the state we want to set, if the record has the same state, then do nothing, otherwise enable/disable it. Signed-off-by: Xiao Guangrong <[email protected]> Reviewed-by: Li Zefan <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions