diff options
author | 2024-09-13 15:51:54 +0300 | |
---|---|---|
committer | 2024-09-19 12:43:13 +0300 | |
commit | 9988e6b33517b94da3c968783327341b10a98430 (patch) | |
tree | 9f0d909efb7a6a5820e5637612cd0ddab185b568 | |
parent | drm/i915/pps: move vlv_active_pipe() to intel_pps.c (diff) | |
download | wireguard-linux-9988e6b33517b94da3c968783327341b10a98430.tar.xz wireguard-linux-9988e6b33517b94da3c968783327341b10a98430.zip |
drm/i915/debugfs: remove superfluous kernel_param_lock/unlock
We're not actually accessing the module params here anymore. The locking
is completely unnecessary.
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/330360c3b27aaff1cdb132f1500ba68de9300508.1726231866.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 246fece628d6..b5fc7cc8020a 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -76,10 +76,8 @@ static int i915_capabilities(struct seq_file *m, void *data) intel_gt_info_print(&to_gt(i915)->info, &p); intel_driver_caps_print(&i915->caps, &p); - kernel_param_lock(THIS_MODULE); i915_params_dump(&i915->params, &p); intel_display_params_dump(&display->params, display->drm->driver->name, &p); - kernel_param_unlock(THIS_MODULE); return 0; } |