aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2009-03-18 09:03:19 +0100
committerIngo Molnar <[email protected]>2009-03-18 10:10:17 +0100
commit2c7eea4c62ba090b7f4583c3d7337ea0019be900 (patch)
tree2a85739caeef13035316d47f61cab11f3a91660f /net/lapb/lapb_iface.c
parent18aecd362a1c991fbf5f7919ae051a77532ba2f8 (diff)
tracing: replace the crude (unsigned) -1 hackery
Impact: cleanup The command line recorder uses (unsigned) -1 to mark non mapped entries in the pid to command line maps. The validity check is completely unintuitive: idx >= SAVED_CMDLINES There is no need for such casting games. Use a constant to mark unmapped entries and check for that constant to make the code readable and understandable. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions