Subject: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-13 Thread pavi1729 Sid
Removed the usb_free_all_descriptors call in *_bind functions as this call is already present in usb_assign_descriptors. usb_assign_descriptors is the only call where usb descriptor allocation happens, also in case of error freeing of the allocated memory takes place in the same call. Hence the

Re: Subject: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-13 Thread Robert Baldyga
Hi, Subject: at the beginning of your email subject looks unnecessary. When you're sending next version of your patch, you should add subject prefix [PATCH vN], when N is number of version (eg. [PATCH v2]). See Documentation/SubmittingPatches. ('git format-patch --subject-prefix' is helpful).

Re: Subject: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-13 Thread pavi1729 Sid
On Mon, Oct 13, 2014 at 6:55 PM, Robert Baldyga r.bald...@samsung.com wrote: Hi, Subject: at the beginning of your email subject looks unnecessary. When you're sending next version of your patch, you should add subject prefix [PATCH vN], when N is number of version (eg. [PATCH v2]). See