diff options
author | Bradley Grove <bgrove@attotech.com> | 2013-10-01 14:26:03 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-10-25 09:58:59 +0100 |
commit | b1cf7a2bc7c372c856cdf542c41d7fe527e4b5d6 (patch) | |
tree | d170d323ab086e63f2ff39598cdad21b118caf5f /drivers/scsi | |
parent | 8e65e2f07c1fdbd952570591bf78316aeed1c74a (diff) | |
download | linux-b1cf7a2bc7c372c856cdf542c41d7fe527e4b5d6.tar.bz2 |
[SCSI] esas2r: Remove superfluous mask of pcie_cap_reg
Signed-off-by: Bradley Grove <bgrove@attotech.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/esas2r/esas2r_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/esas2r/esas2r_init.c b/drivers/scsi/esas2r/esas2r_init.c index 8278819669e3..b9750e296d71 100644 --- a/drivers/scsi/esas2r/esas2r_init.c +++ b/drivers/scsi/esas2r/esas2r_init.c @@ -807,7 +807,7 @@ static void esas2r_init_pci_cfg_space(struct esas2r_adapter *a) int pcie_cap_reg; pcie_cap_reg = pci_find_capability(a->pcid, PCI_CAP_ID_EXP); - if (0xffff & pcie_cap_reg) { + if (pcie_cap_reg) { u16 devcontrol; pci_read_config_word(a->pcid, pcie_cap_reg + PCI_EXP_DEVCTL, |