Remove useless extra test.
Pointed out by: Sascha of DragonFly BSD MFC after: 2 weeks
This commit is contained in:
parent
aaf6343576
commit
10bf42c215
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user