summaryrefslogtreecommitdiffhomepage
path: root/tools/checklocks/checklocks.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checklocks/checklocks.go')
-rw-r--r--tools/checklocks/checklocks.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/checklocks/checklocks.go b/tools/checklocks/checklocks.go
index 401fb55ec..ae8db1a36 100644
--- a/tools/checklocks/checklocks.go
+++ b/tools/checklocks/checklocks.go
@@ -131,11 +131,6 @@ func run(pass *analysis.Pass) (interface{}, error) {
var lff lockFunctionFacts
pc.pass.ImportObjectFact(fn.Object(), &lff)
- // Do we ignore this?
- if lff.Ignore {
- continue
- }
-
// Check the basic blocks in the function.
pc.checkFunction(nil, fn, &lff, nil, false /* force */)
}