From: SF Markus Elfring Date: Sat, 16 Sep 2017 12:19:49 +0000 Subject: [PATCH 1/3] [media] WL1273: Delete an error message for a failed memory allocation in wl1273_fm_radi Message-Id: <3cc3d260-6aed-3e39-24d1-9fcdf4a49685@users.sourceforge.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-media@vger.kernel.org, Bhumika Goyal , "Gustavo A. R. Silva" , Hans Verkuil , Mauro Carvalho Chehab , Sakari Ailus Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring Date: Sat, 16 Sep 2017 13:28:38 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/media/radio/radio-wl1273.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 903fcd5e99c0..020a792173f6 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c @@ -2034,5 +2034,4 @@ static int wl1273_fm_radio_probe(struct platform_device *pdev) if (!radio->buffer) { - pr_err("Cannot allocate memory for RDS buffer.\n"); r = -ENOMEM; goto pdata_err; } -- 2.14.1