summary refs log tree commit diff
path: root/drivers/soc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-18 18:16:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-21 20:46:45 +0200
commit1be4ec2456a7d110092ad8cc918eef75b878ec4e (patch)
tree72cfc05c2421298e062e70bab0763f7e66e15ad2 /drivers/soc
parent77b98d456d60e2923516903ab2ceb478ea22554c (diff)
downloadlinux-1be4ec2456a7d110092ad8cc918eef75b878ec4e.tar.gz
scsi: snic: debugfs: remove local storage of debugfs files
There is no need to keep the dentry around for the debugfs trace files,
as we can just look it up when we want to remove it later on.  Simplify
the structure by removing the dentries and relying on debugfs to find
the dentry to remove when we want to.

By doing this change, we remove the last in-kernel user that was storing
the result of debugfs_create_bool(), so that api can be cleaned up.

Cc: Karan Tilak Kumar <kartilak@cisco.com>
Cc: Sesidhar Baddela <sebaddel@cisco.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: <linux-scsi@vger.kernel.org>
Link: https://lore.kernel.org/r/20210518161625.3696996-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions