public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] edac: i5100_edac: Remove unused function
@ 2015-01-11 17:57 Rickard Strandqvist
  2015-01-12 15:06 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: Rickard Strandqvist @ 2015-01-11 17:57 UTC (permalink / raw)
  To: Doug Thompson, Borislav Petkov
  Cc: Rickard Strandqvist, Mauro Carvalho Chehab, linux-edac,
	linux-kernel

Remove the function i5100_recmema_dm_buf_id() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
---
 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 6247d18..e9f8a39 100644
--- a/drivers/edac/i5100_edac.c
+++ b/drivers/edac/i5100_edac.c
@@ -279,11 +279,6 @@ static inline u32 i5100_recmema_rank(u32 a)
 	return i5100_nrecmema_rank(a);
 }
 
-static inline u32 i5100_recmema_dm_buf_id(u32 a)
-{
-	return i5100_nrecmema_dm_buf_id(a);
-}
-
 static inline u32 i5100_recmemb_cas(u32 a)
 {
 	return i5100_nrecmemb_cas(a);
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] edac: i5100_edac: Remove unused function
  2015-01-11 17:57 [PATCH] edac: i5100_edac: Remove unused function Rickard Strandqvist
@ 2015-01-12 15:06 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2015-01-12 15:06 UTC (permalink / raw)
  To: Rickard Strandqvist
  Cc: Doug Thompson, Mauro Carvalho Chehab, linux-edac, linux-kernel

On Sun, Jan 11, 2015 at 06:57:10PM +0100, Rickard Strandqvist wrote:
> Remove the function i5100_recmema_dm_buf_id() that is not used anywhere.
> 
> This was partially found by using a static code analysis program called cppcheck.
> 
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-12 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-11 17:57 [PATCH] edac: i5100_edac: Remove unused function Rickard Strandqvist
2015-01-12 15:06 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox