aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-09-08 16:15:24 -0400
committerBjorn Helgaas <bhelgaas@google.com>2016-09-14 15:24:54 -0400
commit4947793916e31ec0c4c56f979e2aff89d15480bf (patch)
tree0c5b10d519956058880ce6839849feb00021ed42 /tools/perf/util/scripting-engines/trace-event-python.c
parent69bd3c5b28e7c988886efb3c9a7614a612eef45d (diff)
PCI: pciehp: Remove unnecessary guard
In pcie_isr(), we return early if no status bits other than PCI_EXP_SLTSTA_CC are set. This was introduced by dbd79aed1aea ("pciehp: fix NULL dereference in interrupt handler"), but it is no longer necessary because all the subsequent pcie_isr() code is already predicated on a status bit being set. Remove the unnecessary test for ~PCI_EXP_SLTSTA_CC. No functional change intended. Tested-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions