Skip to content

Commit

Permalink
upstream: remove unused var
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 authored and leonardo-albertovich committed Oct 5, 2023
1 parent c864fd3 commit 60f73cb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/flb_upstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,6 @@ struct flb_upstream *flb_upstream_create_url(struct flb_config *config,
*/
static void shutdown_connection(struct flb_connection *u_conn)
{
struct flb_upstream *u;

u = u_conn->upstream;

if (u_conn->fd > 0 &&
!u_conn->shutdown_flag) {
shutdown(u_conn->fd, SHUT_RDWR);
Expand Down

0 comments on commit 60f73cb

Please sign in to comment.