wifi: iwlwifi: mvm: remove unused iwl_dbgfs_is_match()
This inline function is unused, remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230216205754.d500dcc2e90c.Id87df297263f86b5bba002f7cbb387abc13adf53@changeid
This commit is contained in:
parent
0731d0b664
commit
d9fcf94b8f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user