aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2022-08-28 05:04:33 +0000
committerGreg Kroah-Hartman <[email protected]>2022-09-01 16:08:44 +0000
commitb52c2379c38ffa49cbf10e30abc9dc4f9c051d41 (patch)
treeb878cf2eba18c52046315647fe7c9febc47fd5bb /fs/kernfs/kernfs-internal.h
parentkernfs: Simply by replacing kernfs_deref_open_node() with of_on() (diff)
downloadkernel-b52c2379c38ffa49cbf10e30abc9dc4f9c051d41.tar.gz
kernel-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 <[email protected]> Tested-by: Chengming Zhou <[email protected]> Reviewed-by: Chengming Zhou <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions