lkml.org 
[lkml]   [2022]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] edac: i5100_edac: Remove unused inline function i5100_nrecmema_dm_buf_id()
Date
commit a4972b1b9a04 ("edac: i5100_edac: Remove unused i5100_recmema_dm_buf_id")
leave this behind, remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/edac/i5100_edac.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c
index 324a46b8479b..f5d82518c15e 100644
--- a/drivers/edac/i5100_edac.c
+++ b/drivers/edac/i5100_edac.c
@@ -244,11 +244,6 @@ static inline u32 i5100_nrecmema_rank(u32 a)
return a >> 8 & ((1 << 3) - 1);
}

-static inline u32 i5100_nrecmema_dm_buf_id(u32 a)
-{
- return a & ((1 << 8) - 1);
-}
-
static inline u32 i5100_nrecmemb_cas(u32 a)
{
return a >> 16 & ((1 << 13) - 1);
--
2.17.1
\
 
 \ /
  Last update: 2022-05-14 10:16    [W:0.078 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site