lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hsigx6wyk.wl-tiwai@suse.de>
Date:	Wed, 03 Dec 2014 07:58:43 +0100
From:	Takashi Iwai <tiwai@...e.de>
To:	Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
Cc:	Jaroslav Kysela <perex@...ex.cz>,
	Benoit Taine <benoit.taine@...6.fr>,
	Bjorn Helgaas <bhelgaas@...gle.com>,
	alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sound: pci: azt3328.c:  Cleaning up function that are not used anywhere

At Wed,  3 Dec 2014 00:08:09 +0100,
Rickard Strandqvist wrote:
> 
> Remove function snd_azf3328_codec_outl() that is not used anywhere.

This is a small inliner and no problem to keep it.  Removing it breaks
the code balance, and one would have to re-add it if 32bit register
address is needed in the future patch.


thanks,

Takashi

> 
> This was partially found by using a static code analysis program called cppcheck.
> 
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.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
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ