diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2019-06-28 14:22:46 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-06-28 22:34:26 -0300 |
commit | 09fbca8e6240e945c663af1ac2c5d5ef1456bad7 (patch) | |
tree | c43d38529fc6020f2b85f45a929144d2d7625e22 /scripts/gcc-plugins/sancov_plugin.c | |
parent | 8bd516bd0d53f71594340dc644f6fbc4278a8ab1 (diff) |
IB/hfi1: No need to use try_module_get for debugfs
The call in debugfs.c for try_module_get() is not needed. A reference to
the module will be taken by the VFS layer as long as the owner field is
set in the file ops struct. So set this as well as remove the call.
Suggested-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions