[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG5jFBqmq=eee87Zb5ke2Mn3sTOiZ_mjXzPhEr_PsZgyL2EJtA@mail.gmail.com>
Date: Fri, 23 Sep 2016 16:50:08 +0300
From: Yannis Damigos <giannis.damigos@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: markus.boehme@...lbox.org, devel@...verdev.osuosl.org,
arve@...roid.com, riandrews@...roid.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCHv3 5/5] staging:android:ion: Remove empty release function
I believed I tested it but I found out that the CONFIG_OF_RESERVED_MEM
was not enabled in my config.
So it was not properly tested.
I will try to test it again.
Sorry,
Yannis
On Fri, Sep 23, 2016 at 3:06 PM, Greg KH <gregkh@...uxfoundation.org> wrote:
> On Fri, Sep 23, 2016 at 12:50:15PM +0300, Yannis Damigos wrote:
>> This patch removes the empty function rmem_ion_device_release
>>
>> Signed-off-by: Yannis Damigos <giannis.damigos@...il.com>
>> ---
>> drivers/staging/android/ion/ion_of.c | 7 -------
>> 1 file changed, 7 deletions(-)
>>
>> diff --git a/drivers/staging/android/ion/ion_of.c b/drivers/staging/android/ion/ion_of.c
>> index 49f052c..91c0642 100644
>> --- a/drivers/staging/android/ion/ion_of.c
>> +++ b/drivers/staging/android/ion/ion_of.c
>> @@ -158,15 +158,8 @@ static int rmem_ion_device_init(struct reserved_mem *rmem, struct device *dev)
>> return 0;
>> }
>>
>> -static void rmem_ion_device_release(struct reserved_mem *rmem,
>> - struct device *dev)
>> -{
>> - return;
>> -}
>> -
>> static const struct reserved_mem_ops rmem_dma_ops = {
>> .device_init = rmem_ion_device_init,
>> - .device_release = rmem_ion_device_release,
>> };
>>
>> static int __init rmem_ion_setup(struct reserved_mem *rmem)
>> --
>> 2.10.0
>
> Have you tested that this works?
>
> thanks,
>
> greg k-h
Powered by blists - more mailing lists