diff options
author | NeilBrown <[email protected]> | 2009-09-09 16:32:54 +1000 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2009-09-18 17:01:12 -0400 |
commit | cd68c374ea9ce202ae7c6346777d10078e243d49 (patch) | |
tree | 0aa206d2605c57c6944f7461c6eb1576a9d1f987 /tools/perf/util/trace-event-scripting.c | |
parent | 67e7328f1577230ef3a1430c1a7e5c07978c6e51 (diff) |
sunrpc/cache: avoid variable over-loading in cache_defer_req
In cache_defer_req, 'dreq' is used for two significantly different
values that happen to be of the same type.
This is both confusing, and makes it hard to extend the range of one of
the values as we will in the next patch.
So introduce 'discard' to take one of the values.
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions