projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9b56e
)
edac: i5100_edac: Remove unused i5100_recmema_dm_buf_id
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Sun, 11 Jan 2015 17:57:10 +0000
(18:57 +0100)
committer
Borislav Petkov
<bp@suse.de>
Mon, 12 Jan 2015 15:00:56 +0000
(16:00 +0100)
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>
Link:
http://lkml.kernel.org/r/1420999030-21770-1-git-send-email-rickard_strandqvist@spectrumdigital.se
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/i5100_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/i5100_edac.c
b/drivers/edac/i5100_edac.c
index 6247d186177ed6c7ff4660c5644ae8d49a604ebd..e9f8a393915a82f54b3c7c63920ccf29244b8e17 100644
(file)
--- 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);