Re: [PATCH v2] usb: xhci: Remove unuseful 'return' and 'break' statement

From: Baolin Wang
Date: Mon Nov 28 2016 - 01:29:38 EST


Hi Mathias,

On 24 November 2016 at 19:16, Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:
> Since these 'return' statements are not generally useful in void
> function, remove them. Also remove one unuseful 'break' statement
> in xhci_setup_addressable_virt_dev() function.
>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
> ---
> Changes since v1:
> - Add description of removing 'break' statement in commitlog.
> ---

Could you apply this patch if there are no other comments? Thanks.

--
Baolin.wang
Best Regards