From: H Hartley Sweeten Date: Wed, 12 Aug 2015 20:25:36 +0000 (-0700) Subject: staging: comedi: hwdrv_apci3501: remove useless read/mask to stop watchdog X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a66f2017ec2daebfef9e7cdf4edeca7a362c7303;p=pandora-kernel.git staging: comedi: hwdrv_apci3501: remove useless read/mask to stop watchdog The watchdog is stopped in apci3501_write_insn_timer() by writing a 0 to the timer control register. There is no need to read the register first and mask it (as done when the timer is used as a timer). Reported-by: coverity (CID 1227052) Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed