Re: [PATCH 1/2] musb_gadget: kill duplicate code in musb_gadget_queue()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 21, 2010 at 09:36:45AM -0500, Sergei Shtylyov wrote:
I've noticed that musb_gadget_queue() checks for '!req->buf' condition twice:
in the second case the code is both duplicate and unreachable as the first
check returns early.

Signed-off-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>

applied, thanks

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux