svn commit: r240219 - head/sys/dev/isp
Matt Jacob
mjacob at FreeBSD.org
Fri Sep 7 22:45:32 UTC 2012
Author: mjacob
Date: Fri Sep 7 22:45:31 2012
New Revision: 240219
URL: http://svn.freebsd.org/changeset/base/240219
Log:
Remove useless extra test.
Pointed out by: Sascha of DragonFly BSD
MFC after: 2 weeks
Modified:
head/sys/dev/isp/isp_pci.c
Modified: head/sys/dev/isp/isp_pci.c
==============================================================================
--- head/sys/dev/isp/isp_pci.c Fri Sep 7 22:34:30 2012 (r240218)
+++ head/sys/dev/isp/isp_pci.c Fri Sep 7 22:45:31 2012 (r240219)
@@ -1268,8 +1268,7 @@ isp_pci_rd_reg_1080(ispsoftc_t *isp, int
{
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
{
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.
More information about the svn-src-head
mailing list