From: H Hartley Sweeten Date: Fri, 22 Mar 2013 16:47:20 +0000 (-0700) Subject: staging: comedi: ni_labpc: remove unnecessary test of dev->irq X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~461 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9718e5dfd7e19a2fb0d98a9afdb0459ba6b5d41f;p=pandora-kernel.git staging: comedi: ni_labpc: remove unnecessary test of dev->irq The ai subdevice (*do_cmd) pointer is only initialized if the driver has successfully requested the interrupt. The extra test in labpc_ai_cmd() is not necessary. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed