From: Amit Virdi Date: Fri, 19 Dec 2014 07:10:17 +0000 (+0530) Subject: usb: dwc3: gadget: Remove redundant check X-Git-Tag: fixes-v4.0-rc1~102^2^2~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=110381e11b5fbf84bc0994d4c3f4629bc362ab4c;p=pandora-kernel.git usb: dwc3: gadget: Remove redundant check dwc3_gadget_init_hw_endpoints calls dwc3_alloc_trb_pool only if epnum is not equal to 0 or 1. Hence, rechecking it in the called function is redundant. Signed-off-by: Amit Virdi Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed