diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-01 11:48:23 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-02 07:54:22 -0400 |
commit | 1f8d271385d542796ab7917692908beef10acdc9 (patch) | |
tree | a37ae8e03d8abd552eba05d308da0e1793561728 /arch/mips/lasat | |
parent | 40d12172c8a5c2f3fc39642fc564b053575cd000 (diff) |
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>
Diffstat (limited to 'arch/mips/lasat')
-rw-r--r-- | arch/mips/lasat/sysctl.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/mips/lasat/sysctl.c b/arch/mips/lasat/sysctl.c index 3b7f65cc4218..9d65f1ed4f72 100644 --- a/arch/mips/lasat/sysctl.c +++ b/arch/mips/lasat/sysctl.c | |||
@@ -53,21 +53,6 @@ int proc_dolasatstring(struct ctl_table *table, int write, | |||
53 | return 0; | 53 | return 0; |
54 | } | 54 | } |
55 | 55 | ||
56 | /* proc function to write EEPROM after changing int entry */ | ||
57 | int proc_dolasatint(struct ctl_table *table, int write, | ||
58 | void *buffer, size_t *lenp, loff_t *ppos) | ||
59 | { | ||
60 | int r; | ||
61 | |||
62 | r = proc_dointvec(table, write, buffer, lenp, ppos); | ||
63 | if ((!write) || r) | ||
64 | return r; | ||
65 | |||
66 | lasat_write_eeprom_info(); | ||
67 | |||
68 | return 0; | ||
69 | } | ||
70 | |||
71 | #ifdef CONFIG_DS1603 | 56 | #ifdef CONFIG_DS1603 |
72 | static int rtctmp; | 57 | static int rtctmp; |
73 | 58 | ||