lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 13 Dec 2022 15:07:08 +0800
From:   Jiapeng Chong <>
        Jiapeng Chong <>,
        Abaci Robot <>
Subject: [PATCH] iwlwifi: mvm: Remove the unused function iwl_dbgfs_is_match()

The function iwl_dbgfs_is_match is defined in the debugfs-vif.c file,
but not called elsewhere, so remove this unused function.

drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c:441:21: warning: unused function 'iwl_dbgfs_is_match'.

Reported-by: Abaci Robot <>
Signed-off-by: Jiapeng Chong <>
 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
index 78d8b37eb71a..3779ac040ba0 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
@@ -438,13 +438,6 @@ static ssize_t iwl_dbgfs_bf_params_read(struct file *file,
 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
-static inline char *iwl_dbgfs_is_match(char *name, char *buf)
-	int len = strlen(name);
-	return !strncmp(name, buf, len) ? buf + len : NULL;
 static ssize_t iwl_dbgfs_os_device_timediff_read(struct file *file,
 						 char __user *user_buf,
 						 size_t count, loff_t *ppos)

Powered by blists - more mailing lists