mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
mailbox: pl320-ipc: Drop unused xxx_destination functions
set_destination() and clear_destination() are static functions not used anywhere in the code: pl320-ipc.c:48:20: error: unused function 'set_destination' [-Werror,-Wunused-function] pl320-ipc.c:54:20: error: unused function 'clear_destination' [-Werror,-Wunused-function] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
This commit is contained in:
parent
bf0c9fb462
commit
12868a6c10
1 changed files with 0 additions and 12 deletions
|
|
@ -45,18 +45,6 @@ static DEFINE_MUTEX(ipc_m1_lock);
|
|||
static DECLARE_COMPLETION(ipc_completion);
|
||||
static ATOMIC_NOTIFIER_HEAD(ipc_notifier);
|
||||
|
||||
static inline void set_destination(int source, int mbox)
|
||||
{
|
||||
writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxDSET(mbox));
|
||||
writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxMSET(mbox));
|
||||
}
|
||||
|
||||
static inline void clear_destination(int source, int mbox)
|
||||
{
|
||||
writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxDCLEAR(mbox));
|
||||
writel_relaxed(CHAN_MASK(source), ipc_base + IPCMxMCLEAR(mbox));
|
||||
}
|
||||
|
||||
static void __ipc_send(int mbox, u32 *data)
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue