Skip to content

Commit 2edb986

Browse files
YueHaibingsuryasaimadhu
authored andcommitted
EDAC/i5100: Remove unused inline function i5100_nrecmema_dm_buf_id()
Commit a4972b1 ("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
1 parent 815fad6 commit 2edb986

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/edac/i5100_edac.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,6 @@ static inline u32 i5100_nrecmema_rank(u32 a)
244244
return a >> 8 & ((1 << 3) - 1);
245245
}
246246

247-
static inline u32 i5100_nrecmema_dm_buf_id(u32 a)
248-
{
249-
return a & ((1 << 8) - 1);
250-
}
251-
252247
static inline u32 i5100_nrecmemb_cas(u32 a)
253248
{
254249
return a >> 16 & ((1 << 13) - 1);

0 commit comments

Comments
 (0)