Hello Sachin,

On 13 June 2014 10:17, Sachin Kamat <[email protected]> wrote:
> Let memory subsystem handle the error logging.
>
> Signed-off-by: Sachin Kamat <[email protected]>
> ---
>  drivers/spi/spi.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
> index d4f9670b51bc..8bbbba5b6236 100644
> --- a/drivers/spi/spi.c
> +++ b/drivers/spi/spi.c
> @@ -352,7 +352,6 @@ struct spi_device *spi_alloc_device(struct spi_master 
> *master)
>
>         spi = kzalloc(sizeof(*spi), GFP_KERNEL);
>         if (!spi) {
> -               dev_err(dev, "cannot alloc spi_device\n");
>                 spi_master_put(master);
>                 return NULL;
>         }
> --
> 1.7.9.5
Reviewed-by: Naveen Krishna Chatradhi <[email protected]>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-spi" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Shine bright,
(: Nav :)
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to