[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 46/48] bsd-user: style tweak: Return is not a function call.
From: |
imp |
Subject: |
[PATCH v2 46/48] bsd-user: style tweak: Return is not a function call. |
Date: |
Sat, 24 Apr 2021 10:00:14 -0600 |
From: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c
index 36ffa6a880..1f6b93923c 100644
--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -187,7 +187,7 @@ oidfmt(int *oid, int len, char *fmt, uint32_t *kind)
if (fmt) {
strcpy(fmt, (char *)(buf + sizeof(uint32_t)));
}
- return (0);
+ return 0;
}
/*
--
2.22.1
- Re: [PATCH v2 48/48] bsd-user: put back a break; that had gone missing..., (continued)
- [PATCH v2 19/48] bsd-user: style tweak: move extern to header file, imp, 2021/04/24
- [PATCH v2 27/48] bsd-user: style tweak: space pedantry, imp, 2021/04/24
- [PATCH v2 35/48] bsd-user: style tweak: use {} for all if statements, format else correctly, imp, 2021/04/24
- [PATCH v2 30/48] bsd-user: style tweak: fix block comments, imp, 2021/04/24
- [PATCH v2 36/48] bsd-user: style tweak: Use preferred block comments, imp, 2021/04/24
- [PATCH v2 46/48] bsd-user: style tweak: Return is not a function call.,
imp <=
- [PATCH v2 34/48] bsd-user: style tweak: don't assign in if statements, imp, 2021/04/24
- [PATCH v2 47/48] bsd-user: style tweak: don't assign in if statement., imp, 2021/04/24
- Re: [PATCH v2 00/48] bsd-user style and reorg patches, no-reply, 2021/04/24