diff options
author | Tejun Heo <tj@kernel.org> | 2022-08-28 07:04:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-01 18:08:44 +0200 |
commit | b52c2379c38ffa49cbf10e30abc9dc4f9c051d41 (patch) | |
tree | b878cf2eba18c52046315647fe7c9febc47fd5bb /kernel/usermode_driver.c | |
parent | kernfs: Simply by replacing kernfs_deref_open_node() with of_on() (diff) | |
download | linux-b52c2379c38ffa49cbf10e30abc9dc4f9c051d41.tar.xz linux-b52c2379c38ffa49cbf10e30abc9dc4f9c051d41.zip |
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 'kernel/usermode_driver.c')
0 files changed, 0 insertions, 0 deletions