git: 6b68e8af1f87 - main - linux(4): Eliminate unnecessary head initialization.

Dmitry Chagin dchagin at FreeBSD.org
Thu Jul 29 09:58:54 UTC 2021


The branch main has been updated by dchagin:

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

commit 6b68e8af1f8770bdc7aff66e1ae616efd9c9da46
Author:     Dmitry Chagin <dchagin at FreeBSD.org>
AuthorDate: 2021-07-29 09:53:25 +0000
Commit:     Dmitry Chagin <dchagin at 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;


More information about the dev-commits-src-all mailing list