Re: [PATCH] ASoC: sh: Remove redundant out of memory message

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

 



On Sat, Feb 25, 2017 at 7:16 AM, Cristian Done <done.cristian@xxxxxxxxx> wrote:

>         master = devm_kzalloc(&pdev->dev, sizeof(*master), GFP_KERNEL);
>         if (!master) {
> -               dev_err(&pdev->dev, "Could not allocate master\n");
>                 return -ENOMEM;
>         }

As you are removing the dev_err line you can also remove the if brackets.
_______________________________________________
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