aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCyril Roelandt <[email protected]>2014-04-04 00:05:21 +0200
committerSteve French <[email protected]>2014-04-16 13:51:46 -0500
commit8e3ecc87695f4a7e9e217ebd55ca6a39b6a451b8 (patch)
treede09ad3494f0f58168b8327feee6c97b38a4b6ab /tools/perf/scripts/python
parent60977fcc808664f82412bb37da7be17640ba99d9 (diff)
fs: cifs: remove unused variable.
In SMB2_set_compression(), the "res_key" variable is only initialized to NULL and later kfreed. It is therefore useless and should be removed. Found with the following semantic patch: <smpl> @@ identifier foo; identifier f; type T; @@ * f(...) { ... * T *foo = NULL; ... when forall when != foo * kfree(foo); ... } </smpl> Signed-off-by: Cyril Roelandt <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions