Skip to contentSkip to conversation

video: mmp: removed reference preceded by free

PATCH In review Andrei Epure 2 participants 2 messages Mar 27, 2013 – Mar 28, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video: mmp: removed reference preceded by free

Patch found with coccinelle.

---
 drivers/video/mmp/core.c |    2 --
 1 file changed, 2 deletions(-)
drivers/video/mmp/core.c +0 -2
index 9ed8341..84de263 100644
@@ -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);
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Andrei Epure

Patch found with coccinelle.

---
  drivers/video/mmp/core.c |    2 --
  1 file changed, 2 deletions(-)
drivers/video/mmp/core.c +0 -0
index 9ed8341..84de263 100644

drivers/video/mmp/core.c void mmp_unregister_path(struct mmp_path *path) · line 256

Quoted 7 lines
drivers/video/mmp/core.c +0 -2
@@ -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);