Re: [PATCH 09/11] soc - ac97 - Clean up checkpatch warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 23 Apr 2008 13:08:03 +0100,
Mark Brown wrote:
> 
> @@ -135,7 +136,7 @@ static int ac97_soc_remove(struct platform_device *pdev)
>  	struct snd_soc_device *socdev = platform_get_drvdata(pdev);
>  	struct snd_soc_codec *codec = socdev->codec;
>  
> -	if(codec == NULL)
> +	if (codec == NULL)

Actually, "if (!codec)" is a preferred form.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux