From: Sergei Shtylyov Date: Fri, 24 Sep 2010 10:44:11 +0000 (+0300) Subject: usb: musb: gadget: kill duplicate code in musb_gadget_queue() X-Git-Tag: v2.6.37-rc2~23^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07397021058b7db468b67f8c41ce29ef6331ab92;p=pandora-kernel.git usb: musb: gadget: kill duplicate code in musb_gadget_queue() musb_gadget_queue() checks for '!req->buf' condition twice: in the second case the code is both duplicated and unreachable as the first check returns early. Signed-off-by: Sergei Shtylyov Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed