commit | 9718e5dfd7e19a2fb0d98a9afdb0459ba6b5d41f | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Mar 22 09:47:20 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 11:42:57 2013 -0700 |
tree | 74565dfb505c4da4cdce8e8d55ba8eea78666e04 | |
parent | fe7fc72af7df7120e1897fc07a05e247364b3a50 [diff] |
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>