MIPS: Lasat: Remove unused function from sysctl code.
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 1 Jan 2015 16:48:23 +0000 (17:48 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 2 Apr 2015 11:54:22 +0000 (13:54 +0200)
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>
arch/mips/lasat/sysctl.c

index 3b7f65cc42187e95627bdd14b461be0e60e7342b..9d65f1ed4f72c13d8f2cafa1fc5dabe27796e9b2 100644 (file)
@@ -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;