diff options
author | Kaixu Xia <[email protected]> | 2022-04-21 08:47:54 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2022-04-21 08:47:54 +1000 |
commit | 2d9ac4319b9959bf3195fedf88bdfd224c67593b (patch) | |
tree | 87560bb74d20564a58d357241e85c9325c01976d /tools/perf/util/trace-event-scripting.c | |
parent | 2229276c5283264b8c2241c1ed972bbb136cab22 (diff) |
xfs: simplify local variable assignment in file write code
Get the struct inode pointer from iocb->ki_filp->f_mapping->host
directly and the other variables are unnecessary, so simplify the
local variables assignment.
Signed-off-by: Kaixu Xia <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions