Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2021 09:58:54 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: f88d3c522f74 - main - linux(4): Eliminate unnecessary error initialization.
Message-ID:  <202107290958.16T9wsfm070541@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=f88d3c522f743c0d948048de3c36f9bb9e0ca171

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

    linux(4): Eliminate unnecessary error 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 74c0bda9f96d..07623fbfe9e3 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -895,7 +895,7 @@ linux_get_robust_list(struct thread *td, struct linux_get_robust_list_args *args
 	struct linux_robust_list_head *head;
 	l_size_t len = sizeof(struct linux_robust_list_head);
 	struct thread *td2;
-	int error = 0;
+	int error;
 
 	if (!args->pid) {
 		em = em_find(td);



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