From: Ian Abbott Date: Fri, 25 Jul 2014 17:07:08 +0000 (+0100) Subject: staging: comedi: amplc_dio200_common: remove some tests from amplc_dio200_common_detach() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe29dc6668b9bf0e102fda8f6f52b239c5b83f4;p=pandora-kernel.git staging: comedi: amplc_dio200_common: remove some tests from amplc_dio200_common_detach() `amplc_dio200_common_detach()` doesn't do much apart from freeing the IRQ handler that was requested by `amplc_dio200_common_attach()` if `dev->irq` is non-zero. There is no need to check if the pointer to the constant board data or the pointer to private per-device data exist, so remove those tests. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed