[ig4] style(9) clean-up

Submitted by:	Rajesh Kumar <rajfbsd@gmail.com>
Approved by:	re (gjb, kib)
This commit is contained in:
Oleksandr Tymoshenko 2018-10-04 19:54:47 +00:00
parent 2284664ef9
commit 627e5af85a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339182

View file

@ -729,9 +729,9 @@ ig4iic_intr(void *cookie)
* Workaround to trigger pending interrupt if IG4_REG_INTR_STAT
* is changed after clearing it
*/
if(sc->access_intr_mask) {
if (sc->access_intr_mask != 0) {
status = reg_read(sc, IG4_REG_INTR_MASK);
if(status) {
if (status != 0) {
reg_write(sc, IG4_REG_INTR_MASK, 0);
reg_write(sc, IG4_REG_INTR_MASK, status);
}