From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:54:16 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove unnecessary devpriv->mode masking X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~323 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=363aa5f2f47ec32d9ddc40db7312bf907b957bae;p=pandora-kernel.git staging: comedi: addi_apci_3120: remove unnecessary devpriv->mode masking The devpriv->mode is set to '0' at the start of apci3120_ai_insn_read() and apci3120_cyclic_ai(). There is no need to clear any of the bits or do any of the additional writes of those cleared bits. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed