Skip to content

Commit 09874a3

Browse files
westeriandy-shev
authored andcommitted
platform/x86: intel_pmc_ipc: Drop ipc_data_readb()
This function is not used anywhere so drop it completely. Signed-off-by: Mika Westerberg <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent a97368b commit 09874a3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/platform/x86/intel_pmc_ipc.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,6 @@ static inline void ipc_data_writel(u32 data, u32 offset)
184184
writel(data, ipcdev.ipc_base + IPC_WRITE_BUFFER + offset);
185185
}
186186

187-
static inline u8 __maybe_unused ipc_data_readb(u32 offset)
188-
{
189-
return readb(ipcdev.ipc_base + IPC_READ_BUFFER + offset);
190-
}
191-
192187
static inline u32 ipc_data_readl(u32 offset)
193188
{
194189
return readl(ipcdev.ipc_base + IPC_READ_BUFFER + offset);

0 commit comments

Comments
 (0)