powerpc/powernv: remove the unused vas_win_paste_addr and vas_win_id functions
These two function have never been used anywhere in the kernel tree since they were added to the kernel. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
7eb3cf7619
commit
452d23c0f6
@@ -44,16 +44,6 @@ static void compute_paste_address(struct vas_window *window, u64 *addr, int *len
|
||||
pr_debug("Txwin #%d: Paste addr 0x%llx\n", winid, *addr);
|
||||
}
|
||||
|
||||
u64 vas_win_paste_addr(struct vas_window *win)
|
||||
{
|
||||
u64 addr;
|
||||
|
||||
compute_paste_address(win, &addr, NULL);
|
||||
|
||||
return addr;
|
||||
}
|
||||
EXPORT_SYMBOL(vas_win_paste_addr);
|
||||
|
||||
static inline void get_hvwc_mmio_bar(struct vas_window *window,
|
||||
u64 *start, int *len)
|
||||
{
|
||||
@@ -1268,12 +1258,3 @@ int vas_win_close(struct vas_window *window)
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vas_win_close);
|
||||
|
||||
/*
|
||||
* Return a system-wide unique window id for the window @win.
|
||||
*/
|
||||
u32 vas_win_id(struct vas_window *win)
|
||||
{
|
||||
return encode_pswid(win->vinst->vas_id, win->winid);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vas_win_id);
|
||||
|
Reference in New Issue
Block a user