diff options
author | mjacob <mjacob@FreeBSD.org> | 2012-09-07 22:45:31 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2012-09-07 22:45:31 +0000 |
commit | 241b954939464fc1e687810afb10bc077a910aac (patch) | |
tree | e0bc30dc78daa58b13b2cac02346cca5f8424e14 /sys/dev/isp/isp_pci.c | |
parent | b0ab73e8f6b3335fae4bb81251148823a3ce5ddb (diff) | |
download | FreeBSD-src-241b954939464fc1e687810afb10bc077a910aac.zip FreeBSD-src-241b954939464fc1e687810afb10bc077a910aac.tar.gz |
Remove useless extra test.
Pointed out by: Sascha of DragonFly BSD
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 7f29265..5309b0e 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1268,8 +1268,7 @@ isp_pci_rd_reg_1080(ispsoftc_t *isp, int regoff) { uint32_t rv, oc = 0; - if ((regoff & _BLK_REG_MASK) == SXP_BLOCK || - (regoff & _BLK_REG_MASK) == (SXP_BLOCK|SXP_BANK1_SELECT)) { + if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) { uint32_t tc; /* * We will assume that someone has paused the RISC processor. @@ -1301,8 +1300,7 @@ isp_pci_wr_reg_1080(ispsoftc_t *isp, int regoff, uint32_t val) { int oc = 0; - if ((regoff & _BLK_REG_MASK) == SXP_BLOCK || - (regoff & _BLK_REG_MASK) == (SXP_BLOCK|SXP_BANK1_SELECT)) { + if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) { uint32_t tc; /* * We will assume that someone has paused the RISC processor. |