mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sound: pci: azt3328.c:  Cleaning up function that are not used anywhere
@ 2014-12-02 23:08 Rickard Strandqvist
  2014-12-03  6:58 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Rickard Strandqvist @ 2014-12-02 23:08 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: Rickard Strandqvist, Benoit Taine, Bjorn Helgaas, alsa-devel,
	linux-kernel

Remove function snd_azf3328_codec_outl() 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>
---
 sound/pci/azt3328.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c
index 5a69e26..82da7b9 100644
--- a/sound/pci/azt3328.c
+++ b/sound/pci/azt3328.c
@@ -379,15 +379,6 @@ snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigned reg)
 }
 
 static inline void
-snd_azf3328_codec_outl(const struct snd_azf3328_codec_data *codec,
-		       unsigned reg,
-		       u32 value
-)
-{
-	outl(value, codec->io_base + reg);
-}
-
-static inline void
 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec,
 			     unsigned reg, const void *buffer, int count
 )
-- 
1.7.10.4


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

end of thread, other threads:[~2014-12-03  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-02 23:08 [PATCH] sound: pci: azt3328.c: Cleaning up function that are not used anywhere Rickard Strandqvist
2014-12-03  6:58 ` Takashi Iwai

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

all inboxes | Powered by JetHome®