From: H Hartley Sweeten Date: Mon, 26 Jan 2015 23:17:14 +0000 (-0700) Subject: staging: comedi: das16: remove unnecessary das16_ai_disable() X-Git-Tag: fixes-v4.0-rc1~99^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc4e02175285c4642f50ad7b4070848d9e9f63f8;p=pandora-kernel.git staging: comedi: das16: remove unnecessary das16_ai_disable() The das16_ai_disable() function disables interrupts and the pacer clock. This function is called by the subdevice (*cancel) operation. The comedi core will not call a subdevice (*insn_read) operation while an async command is running due to the s->busy check in parse_insn(). Since all async commands are terminated by a (*cancel), the das16_ai_disable() is not necessary in das16_ai_insn_read(). Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed