* [PATCH -next] powerpc/pseries/memhotplug: Remove unused inline function dlpar_memory_remove()
@ 2021-05-14 7:10 YueHaibing
2021-05-14 20:54 ` Daniel Henrique Barboza
2021-06-06 12:08 ` Michael Ellerman
0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2021-05-14 7:10 UTC (permalink / raw)
To: mpe, benh, paulus; +Cc: linuxppc-dev, linux-kernel, YueHaibing
dlpar_memory_remove() is never used, so can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
arch/powerpc/platforms/pseries/hotplug-memory.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c
index 8377f1f7c78e..3d93f1c48e23 100644
--- a/arch/powerpc/platforms/pseries/hotplug-memory.c
+++ b/arch/powerpc/platforms/pseries/hotplug-memory.c
@@ -585,10 +585,6 @@ static inline int pseries_remove_mem_node(struct device_node *np)
{
return 0;
}
-static inline int dlpar_memory_remove(struct pseries_hp_errorlog *hp_elog)
-{
- return -EOPNOTSUPP;
-}
static int dlpar_remove_lmb(struct drmem_lmb *lmb)
{
return -EOPNOTSUPP;
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] powerpc/pseries/memhotplug: Remove unused inline function dlpar_memory_remove()
2021-05-14 7:10 [PATCH -next] powerpc/pseries/memhotplug: Remove unused inline function dlpar_memory_remove() YueHaibing
@ 2021-05-14 20:54 ` Daniel Henrique Barboza
2021-06-06 12:08 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Henrique Barboza @ 2021-05-14 20:54 UTC (permalink / raw)
To: YueHaibing, mpe, benh, paulus; +Cc: linuxppc-dev, linux-kernel
On 5/14/21 4:10 AM, YueHaibing wrote:
> dlpar_memory_remove() is never used, so can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
> arch/powerpc/platforms/pseries/hotplug-memory.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c
> index 8377f1f7c78e..3d93f1c48e23 100644
> --- a/arch/powerpc/platforms/pseries/hotplug-memory.c
> +++ b/arch/powerpc/platforms/pseries/hotplug-memory.c
> @@ -585,10 +585,6 @@ static inline int pseries_remove_mem_node(struct device_node *np)
> {
> return 0;
> }
> -static inline int dlpar_memory_remove(struct pseries_hp_errorlog *hp_elog)
> -{
> - return -EOPNOTSUPP;
> -}
> static int dlpar_remove_lmb(struct drmem_lmb *lmb)
> {
> return -EOPNOTSUPP;
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] powerpc/pseries/memhotplug: Remove unused inline function dlpar_memory_remove()
2021-05-14 7:10 [PATCH -next] powerpc/pseries/memhotplug: Remove unused inline function dlpar_memory_remove() YueHaibing
2021-05-14 20:54 ` Daniel Henrique Barboza
@ 2021-06-06 12:08 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2021-06-06 12:08 UTC (permalink / raw)
To: mpe, paulus, benh, YueHaibing; +Cc: linuxppc-dev, linux-kernel
On Fri, 14 May 2021 15:10:41 +0800, YueHaibing wrote:
> dlpar_memory_remove() is never used, so can be removed.
Applied to powerpc/next.
[1/1] powerpc/pseries/memhotplug: Remove unused inline function dlpar_memory_remove()
https://git.kernel.org/powerpc/c/9b373899e9606d252364191ce2b385043a8808bc
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-06 12:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 7:10 [PATCH -next] powerpc/pseries/memhotplug: Remove unused inline function dlpar_memory_remove() YueHaibing
2021-05-14 20:54 ` Daniel Henrique Barboza
2021-06-06 12:08 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).