Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f8d2713 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Ralf Baechle
Browse files

MIPS: Lasat: Remove unused function from sysctl code.



Remove the function proc_dolasatint() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8868/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 40d12172
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -53,21 +53,6 @@ int proc_dolasatstring(struct ctl_table *table, int write,
	return 0;
}

/* proc function to write EEPROM after changing int entry */
int proc_dolasatint(struct ctl_table *table, int write,
		       void *buffer, size_t *lenp, loff_t *ppos)
{
	int r;

	r = proc_dointvec(table, write, buffer, lenp, ppos);
	if ((!write) || r)
		return r;

	lasat_write_eeprom_info();

	return 0;
}

#ifdef CONFIG_DS1603
static int rtctmp;