diff options
| author | NeilBrown <[email protected]> | 2019-01-07 17:53:52 +1100 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2019-02-20 17:33:55 -0500 |
| commit | e3735c89985415f4fb509c67963e3d05969fbdb1 (patch) | |
| tree | a1420581b2399bd45c4f72c28000f23ccb22288e /tools/perf/scripts/python | |
| parent | 45bb8d802742842fa974b0d7d474d115df1d07db (diff) | |
SUNRPC: remove pointless test in unx_match()
As reported by Dan Carpenter, this test for acred->cred being set is
inconsistent with the dereference of the pointer a few lines earlier.
An 'auth_cred' *always* has ->cred set - every place that creates one
initializes this field, often as the first thing done.
So remove this test.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions