[PATCH 02/17] dma-fence: remove fill_driver_data callback

Eric Anholt eric at anholt.net
Mon Apr 30 17:49:47 UTC 2018


Daniel Vetter <daniel.vetter at ffwll.ch> writes:

> Noticed while I was typing docs. Entirely unused.
>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  include/linux/dma-fence.h | 10 ----------
>  1 file changed, 10 deletions(-)
>
> diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h
> index 9d6f39bf2111..f9a6848f8558 100644
> --- a/include/linux/dma-fence.h
> +++ b/include/linux/dma-fence.h
> @@ -217,16 +217,6 @@ struct dma_fence_ops {
>  	 */
>  	void (*release)(struct dma_fence *fence);
>  
> -	/**
> -	 * @fill_driver_data:
> -	 *
> -	 * Callback to fill in free-form debug info Returns amount of bytes
> -	 * filled, or negative error on failure.
> -	 *
> -	 * This callback is optional.
> -	 */
> -	int (*fill_driver_data)(struct dma_fence *fence, void *data, int size);
> -

There's a reference to this one from timeline_value_str() as well.
Could you fix that up?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180430/02468f98/attachment.sig>


More information about the dri-devel mailing list