Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2021 09:58:53 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6b68e8af1f87 - main - linux(4): Eliminate unnecessary head initialization.
Message-ID:  <202107290958.16T9wr9B070517@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=6b68e8af1f8770bdc7aff66e1ae616efd9c9da46

commit 6b68e8af1f8770bdc7aff66e1ae616efd9c9da46
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2021-07-29 09:53:25 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2021-07-29 09:53:25 +0000

    linux(4): Eliminate unnecessary head initialization.
    
    MFC after:              2 weeks
---
 sys/compat/linux/linux_futex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index f26a4edc7311..74c0bda9f96d 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -1017,7 +1017,7 @@ fetch_robust_entry(struct linux_robust_list **entry,
 void
 release_futexes(struct thread *td, struct linux_emuldata *em)
 {
-	struct linux_robust_list_head *head = NULL;
+	struct linux_robust_list_head *head;
 	struct linux_robust_list *entry, *next_entry, *pending;
 	unsigned int limit = 2048, pi, next_pi, pip;
 	uint32_t *uaddr;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107290958.16T9wr9B070517>