aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-01-02 15:15:21 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-02 15:27:58 +0000
commit5cdbe12ef7ec1ee2d99c5430924aab23c0fea503 (patch)
tree58f2b79f952a7feaa507eb015eab4a1eb253ab70 /pkg/report
parenta10c0112aec1525f7ca5f74716fc5f0552e2d05e (diff)
all: remove unused nolint directives
Diffstat (limited to 'pkg/report')
-rw-r--r--pkg/report/freebsd.go1
-rw-r--r--pkg/report/linux.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/pkg/report/freebsd.go b/pkg/report/freebsd.go
index 37c50eaf8..acb1aac88 100644
--- a/pkg/report/freebsd.go
+++ b/pkg/report/freebsd.go
@@ -32,7 +32,6 @@ func (ctx *freebsd) Symbolize(rep *Report) error {
var freebsdStackParams = &stackParams{}
-// nolint: goconst
var freebsdOopses = append([]*oops{
{
[]byte("Fatal trap"),
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index c61b2bc37..f4266658c 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -251,7 +251,7 @@ func (ctx *linux) reportMinLines(oopsLine []byte) int {
}
// Yes, it is complex, but all state and logic are tightly coupled. It's unclear how to simplify it.
-// nolint: gocyclo, gocognit
+// nolint: gocyclo
func (ctx *linux) findReport(output []byte, oops *oops, startPos int, context string, useQuestionable bool) (
endPos, reportEnd int, report []byte, prefix [][]byte) {
// Prepend 5 lines preceding start of the report,