diff mbox series

[-next] edac: i5100_edac: Remove unused inline function i5100_nrecmema_dm_buf_id()

Message ID 20220514080433.29944-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] edac: i5100_edac: Remove unused inline function i5100_nrecmema_dm_buf_id() | expand

Commit Message

Yue Haibing May 14, 2022, 8:04 a.m. UTC
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(-)

Comments

Borislav Petkov May 17, 2022, 3:56 p.m. UTC | #1
On Sat, May 14, 2022 at 04:04:33PM +0800, YueHaibing wrote:
> 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);
> -- 

Applied, thanks.
diff mbox series

Patch

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);