From: H Hartley Sweeten Date: Wed, 5 Aug 2015 17:45:12 +0000 (-0700) Subject: staging: comedi: me4000: remove unnecessary me4000_ai_cancel() X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ff848c3be2d066ec0dc05f8477f97d9daa24e0d;p=pandora-kernel.git staging: comedi: me4000: remove unnecessary me4000_ai_cancel() The comedi core ensures that the subdevice is not busy before it allows starting a new command. The subdevice (*cancel) is called when the subdevice is set to not busy. In this driver the me4000_ai_cancel() is the ai (*cancel) so the extra call in the ai (*do_cmd) is not necessary. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed