mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm: remove unused function
@ 2015-05-14 11:14 Sudip Mukherjee
  2015-05-14 14:06 ` Daniel Stone
  0 siblings, 1 reply; 2+ messages in thread
From: Sudip Mukherjee @ 2015-05-14 11:14 UTC (permalink / raw)
  To: David Airlie; +Cc: dri-devel, linux-kernel, Sudip Mukherjee

this function was not used anywhere and was giving a build warning.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 drivers/gpu/drm/drm_crtc.c | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 4059f06..6e60f71 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -4313,25 +4313,6 @@ void drm_property_unreference_blob(struct drm_property_blob *blob)
 EXPORT_SYMBOL(drm_property_unreference_blob);
 
 /**
- * drm_property_unreference_blob_locked - Unreference a blob property with blob_lock held
- *
- * Drop a reference on a blob property. May free the object. This must be
- * called with blob_lock held.
- *
- * @param dev  Device the blob was created on
- * @param blob Pointer to blob property
- */
-static void drm_property_unreference_blob_locked(struct drm_property_blob *blob)
-{
-	if (!blob)
-		return;
-
-	DRM_DEBUG("%p: blob ID: %d (%d)\n", blob, blob->base.id, atomic_read(&blob->refcount.refcount));
-
-	kref_put(&blob->refcount, drm_property_free_blob);
-}
-
-/**
  * drm_property_reference_blob - Take a reference on an existing property
  *
  * Take a new reference on an existing blob property.
-- 
1.8.1.2


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

* Re: [PATCH] drm: remove unused function
  2015-05-14 11:14 [PATCH] drm: remove unused function Sudip Mukherjee
@ 2015-05-14 14:06 ` Daniel Stone
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Stone @ 2015-05-14 14:06 UTC (permalink / raw)
  To: Sudip Mukherjee; +Cc: David Airlie, Linux Kernel Mailing List, dri-devel

Hi Sudip,

On 14 May 2015 at 12:14, Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote:
> this function was not used anywhere and was giving a build warning.

Thanks for the patch, but this function is used in following patches
that are in the process of being merged. This shouldn't have snuck in
in the earlier patch; apologies.

Cheers,
Daniel

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

end of thread, other threads:[~2015-05-14 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14 11:14 [PATCH] drm: remove unused function Sudip Mukherjee
2015-05-14 14:06 ` Daniel Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®