diff options
author | Greg Kroah-Hartman <[email protected]> | 2021-05-18 18:16:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-21 20:46:45 +0200 |
commit | 1be4ec2456a7d110092ad8cc918eef75b878ec4e (patch) | |
tree | 72cfc05c2421298e062e70bab0763f7e66e15ad2 /lib/mpi | |
parent | 77b98d456d60e2923516903ab2ceb478ea22554c (diff) |
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 <[email protected]>
Cc: Sesidhar Baddela <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions