Commit d9fcf94b authored by Johannes Berg's avatar Johannes Berg Committed by Kalle Valo
Browse files

wifi: iwlwifi: mvm: remove unused iwl_dbgfs_is_match()

parent 0731d0b6
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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)