From: Felipe Balbi Date: Mon, 23 Jan 2017 12:20:07 +0000 (+0200) Subject: usb: host: xhci: simplify irq handler return X-Git-Tag: v3.2.93~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2bfccfd8da21b64ccbbe2048865cff0c598cdf;p=pandora-kernel.git usb: host: xhci: simplify irq handler return commit 76a35293b901915c5dcb4a87a4a0da8d7caf39fe upstream. Instead of having several return points, let's use a local variable and a single place to return. This makes the code slightly easier to read. [set ret = IRQ_HANDLED in default working case -Mathias] Signed-off-by: Felipe Balbi Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed