git: f88d3c522f74 - main - linux(4): Eliminate unnecessary error initialization.
Dmitry Chagin
dchagin at FreeBSD.org
Thu Jul 29 09:58:56 UTC 2021
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=f88d3c522f743c0d948048de3c36f9bb9e0ca171
commit f88d3c522f743c0d948048de3c36f9bb9e0ca171
Author: Dmitry Chagin <dchagin at FreeBSD.org>
AuthorDate: 2021-07-29 09:53:41 +0000
Commit: Dmitry Chagin <dchagin at 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);
More information about the dev-commits-src-main
mailing list