From: Jiang Liu Date: Fri, 30 Mar 2012 15:11:34 +0000 (+0800) Subject: genirq: Introduce irq_do_set_affinity() to reduce duplicated code X-Git-Tag: v3.5-rc2~38^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=818b0f3bfb236ae66cac3ff38e86b9e47f24b7aa;p=pandora-kernel.git genirq: Introduce irq_do_set_affinity() to reduce duplicated code All invocations of chip->irq_set_affinity() are doing the same return value checks. Let them all use a common function. [ tglx: removed the silly likely while at it ] Signed-off-by: Jiang Liu Cc: Jiang Liu Cc: Keping Chen Link: http://lkml.kernel.org/r/1333120296-13563-3-git-send-email-jiang.liu@huawei.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed