From 5bbb4cd6b0e644a682c8e9fc9f079a7cc629b47a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 26 Feb 2022 14:01:18 -0800 Subject: [PATCH] gvc: [nfc] remove unnecessary parens around use of 'write_fn' --- lib/gvc/gvdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gvc/gvdevice.c b/lib/gvc/gvdevice.c index e58814b91..7260cf883 100644 --- a/lib/gvc/gvdevice.c +++ b/lib/gvc/gvdevice.c @@ -61,7 +61,7 @@ static const int PAGE_ALIGN = 4095; /* align to a 4K boundary (less one), typic static size_t gvwrite_no_z(GVJ_t * job, const void *s, size_t len) { if (job->gvc->write_fn) /* externally provided write discipline */ - return (job->gvc->write_fn)(job, s, len); + return job->gvc->write_fn(job, s, len); if (job->output_data) { if (len > job->output_data_allocated - (job->output_data_position + 1)) { /* ensure enough allocation for string = null terminator */ -- 2.40.0