Re: [Qemu-devel] [PATCH 1/2 v3] usb-mtp: remove usb_mtp_object_free_one

2019-04-01 Thread Bandan Das
Gerd Hoffmann writes: > On Thu, Mar 28, 2019 at 01:37:21PM -0400, Bandan Das wrote: >> This function is used in the delete path only and can >> be replaced by a call to usb_mtp_object_free. >> >> Reviewed-by: Peter Maydell >> Signed-off-by: Bandan Das > > Tried to cherry-pick this one for 4.0

Re: [Qemu-devel] [PATCH 1/2 v3] usb-mtp: remove usb_mtp_object_free_one

2019-04-01 Thread Gerd Hoffmann
On Thu, Mar 28, 2019 at 01:37:21PM -0400, Bandan Das wrote: > This function is used in the delete path only and can > be replaced by a call to usb_mtp_object_free. > > Reviewed-by: Peter Maydell > Signed-off-by: Bandan Das Tried to cherry-pick this one for 4.0 (I think we should leave 2/2 to 4.

[Qemu-devel] [PATCH 1/2 v3] usb-mtp: remove usb_mtp_object_free_one

2019-03-28 Thread Bandan Das
This function is used in the delete path only and can be replaced by a call to usb_mtp_object_free. Reviewed-by: Peter Maydell Signed-off-by: Bandan Das --- hw/usb/dev-mtp.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c i