summaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2022-05-14 11:04:33 +0300
committerBorislav Petkov <bp@suse.de>2022-05-17 18:44:50 +0300
commit2edb9863e12566259503b2695d1c252c775b0ee7 (patch)
treedab69680e515a575b043a7a162dd7a543e07014a /drivers/edac
parent815fad6e4f9c7dcd3336b989d84ee02fd912d29e (diff)
downloadlinux-2edb9863e12566259503b2695d1c252c775b0ee7.tar.xz
EDAC/i5100: Remove unused inline function i5100_nrecmema_dm_buf_id()
Commit a4972b1b9a04 ("edac: i5100_edac: Remove unused i5100_recmema_dm_buf_id") left this function unused. Remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220514080433.29944-1-yuehaibing@huawei.com
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i5100_edac.c5
1 files changed, 0 insertions, 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);