From: H Hartley Sweeten Date: Thu, 20 Nov 2014 22:07:23 +0000 (-0700) Subject: staging: comedi: cb_pcidas: remove unnecessary check in caldac_8800_write() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06b66dc22b83fd3d9e4de42011dc5de04a226971;p=pandora-kernel.git staging: comedi: cb_pcidas: remove unnecessary check in caldac_8800_write() The 'address' passed to this function is actually the comedi channel. This value will always be less than the subdevice n_chan (which is 8). Remove the unnecessary sanity check in caldac_8800_write(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed