linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video: mmp: removed reference preceded by free
@ 2013-03-27 20:48 Andrei Epure
  2013-03-28  1:38 ` Zhou Zhu
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Epure @ 2013-03-27 20:48 UTC (permalink / raw)
  To: FlorianSchandinat
  Cc: akpm, haojian.zhuang, cldu, zzhu3, linux-fbdev, linux-kernel,
	Andrei Epure

Patch found with coccinelle.

Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
---
 drivers/video/mmp/core.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/video/mmp/core.c b/drivers/video/mmp/core.c
index 9ed8341..84de263 100644
--- a/drivers/video/mmp/core.c
+++ b/drivers/video/mmp/core.c
@@ -252,7 +252,5 @@ void mmp_unregister_path(struct mmp_path *path)
 
 	kfree(path);
 	mutex_unlock(&disp_lock);
-
-	dev_info(path->dev, "de-register %s\n", path->name);
 }
 EXPORT_SYMBOL_GPL(mmp_unregister_path);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] video: mmp: removed reference preceded by free
  2013-03-27 20:48 [PATCH] video: mmp: removed reference preceded by free Andrei Epure
@ 2013-03-28  1:38 ` Zhou Zhu
  0 siblings, 0 replies; 2+ messages in thread
From: Zhou Zhu @ 2013-03-28  1:38 UTC (permalink / raw)
  To: Andrei Epure
  Cc: FlorianSchandinat@gmx.de, akpm@linux-foundation.org,
	haojian.zhuang@gmail.com, Lisa Du, linux-fbdev@vger.kernel.org,
	linux-kernel@vger.kernel.org

On 03/28/2013 04:48 AM, Andrei Epure wrote:
> Patch found with coccinelle.
>
> Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
> ---
>   drivers/video/mmp/core.c |    2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/drivers/video/mmp/core.c b/drivers/video/mmp/core.c
> index 9ed8341..84de263 100644
> --- a/drivers/video/mmp/core.c
> +++ b/drivers/video/mmp/core.c
> @@ -252,7 +252,5 @@ void mmp_unregister_path(struct mmp_path *path)
>
>   	kfree(path);
>   	mutex_unlock(&disp_lock);
> -
> -	dev_info(path->dev, "de-register %s\n", path->name);
>   }
>   EXPORT_SYMBOL_GPL(mmp_unregister_path);
>
Acked-by: Zhou Zhu <zzhu3@marvell.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-28  1:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 20:48 [PATCH] video: mmp: removed reference preceded by free Andrei Epure
2013-03-28  1:38 ` Zhou Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).