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>
Showing
Please register or sign in to comment