commit | 77d2f7c24725e3caa82492dd3d1cbd466b8a0abf | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Sep 05 18:38:11 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 05 20:03:55 2012 -0700 |
tree | b72d640d2d9185d42896a06aac380b97f4afe51b | |
parent | 92cfef5d90148f1a91fba528971ed6ae39b1c14b [diff] |
staging: comedi: das800: 'dev->subdevices + 0' is already known There is no need to calculate the subdevice for the call to das800_cancel. The variable 's' in this function is set to the 'dev->read_subdev' which is the same as 'dev->subdevices + 0'. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>