Message ID | 20240704084759.1824420-4-zhao1.liu@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | trivial: Fix superfluous trailing semicolon | expand |
On Thu, 4 Jul 2024 at 09:33, Zhao Liu <zhao1.liu@intel.com> wrote: > > Signed-off-by: Zhao Liu <zhao1.liu@intel.com> > --- > util/oslib-posix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/util/oslib-posix.c b/util/oslib-posix.c > index e76441695bdc..b090fe0eed0d 100644 > --- a/util/oslib-posix.c > +++ b/util/oslib-posix.c > @@ -263,7 +263,7 @@ int qemu_socketpair(int domain, int type, int protocol, int sv[2]) > return ret; > } > #endif > - ret = socketpair(domain, type, protocol, sv);; > + ret = socketpair(domain, type, protocol, sv); > if (ret == 0) { > qemu_set_cloexec(sv[0]); > qemu_set_cloexec(sv[1]); > -- > 2.34.1 > Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
Zhao Liu <zhao1.liu@intel.com> writes: > Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
diff --git a/util/oslib-posix.c b/util/oslib-posix.c index e76441695bdc..b090fe0eed0d 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -263,7 +263,7 @@ int qemu_socketpair(int domain, int type, int protocol, int sv[2]) return ret; } #endif - ret = socketpair(domain, type, protocol, sv);; + ret = socketpair(domain, type, protocol, sv); if (ret == 0) { qemu_set_cloexec(sv[0]); qemu_set_cloexec(sv[1]);
Signed-off-by: Zhao Liu <zhao1.liu@intel.com> --- util/oslib-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)