git: 94f1c67b24a2 - stable/13 - linux(4): Eliminate unnecessary error initialization.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 19:37:43 UTC
The branch stable/13 has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=94f1c67b24a2b14470410855cfaf51a4172c193d
commit 94f1c67b24a2b14470410855cfaf51a4172c193d
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2021-07-29 09:53:41 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:33:23 +0000
linux(4): Eliminate unnecessary error initialization.
MFC after: 2 weeks
(cherry picked from commit f88d3c522f743c0d948048de3c36f9bb9e0ca171)
---
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);