From: H Hartley Sweeten Date: Thu, 6 Sep 2012 01:38:11 +0000 (-0700) Subject: staging: comedi: das800: 'dev->subdevices + 0' is already known X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~629 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77d2f7c24725e3caa82492dd3d1cbd466b8a0abf;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed