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: Rickard 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: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
40d12172c8
commit
1f8d271385
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue