Skip to content

Commit

Permalink
edac: i5100_edac: Remove unused i5100_recmema_dm_buf_id
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rickard Strandqvist authored and Borislav Petkov committed Jan 12, 2015
1 parent ae9b56e commit a4972b1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/edac/i5100_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a4972b1

Please sign in to comment.