powerpc/mpic: remove unused functions
authorArseny Solokha <asolokha@kb.kras.ru>
Tue, 24 Feb 2015 09:05:06 +0000 (16:05 +0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:50:18 +0000 (18:50 +1100)
commit5e86bfde9cd93f272844c3ff6ac5f93d3666b3e7
tree9368a79186a416dcc59deddaa31227498b4d6c9f
parentf98e7f2fe9d7ac5851cf8cc9933993a2b74566c1
powerpc/mpic: remove unused functions

Drop unused fsl_mpic_primary_get_version(), mpic_set_clk_ratio(),
mpic_set_serial_int().

  + fsl_mpic_primary_get_version() is just a safe wrapper around
fsl_mpic_get_version() for SMP configurations. While the latter is
called explicitly for handling PIC initialization and setting up error
interrupt vector depending on PIC hardware version, the former isn't
used for anything.

  + As for mpic_set_clk_ratio() and mpic_set_serial_int(), they both are
almost nine years old[1] but still have no chance to be called even from
out-of-tree modules because they both are __init and of course aren't
exported.

[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2006-June/023867.html

Signed-off-by: Arseny Solokha <asolokha@kb.kras.ru>
Cc: hongtao.jia@freescale.com
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mpic.h
arch/powerpc/sysdev/mpic.c