diff options
author | Tejun Heo <tj@kernel.org> | 2022-08-28 08:04:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-01 19:08:44 +0300 |
commit | b52c2379c38ffa49cbf10e30abc9dc4f9c051d41 (patch) | |
tree | b878cf2eba18c52046315647fe7c9febc47fd5bb /fs/file.c | |
parent | 3db48aca879db475844182a24d1760ee3d230627 (diff) | |
download | linux-b52c2379c38ffa49cbf10e30abc9dc4f9c051d41.tar.xz |
kernfs: Drop unnecessary "mutex" local variable initialization
These are unnecessary and unconventional. Remove them. Also move variable
declaration into the block that it's used. No functional changes.
Cc: Imran Khan <imran.f.khan@oracle.com>
Tested-by: Chengming Zhou <zhouchengming@bytedance.com>
Reviewed-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220828050440.734579-3-tj@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions