From: H Hartley Sweeten Date: Fri, 20 Feb 2015 19:52:28 +0000 (-0700) Subject: staging: comedi: rtd520: remove unnecessary interrupt disable X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~752 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7d6b43b4d20cd5b8aa0e56fc1f9185837cd608a;p=pandora-kernel.git staging: comedi: rtd520: remove unnecessary interrupt disable The read/write of the PLX_INTRCS_REG during the driver detach is not necessary. The rtd_reset() function writes 0 to this register which will disable all interrupts. This also fixes a dereference after null check reported by coverity. Reported-by: coverity (CID 751066) Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed