From nobody Thu Nov 13 18:05:18 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1581782910836982.9204051188649; Sat, 15 Feb 2020 08:08:30 -0800 (PST) Received: from localhost ([::1]:52286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2zzZ-0005v0-Fy for importer@patchew.org; Sat, 15 Feb 2020 11:08:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46919) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2zyX-0004c6-QA for qemu-devel@nongnu.org; Sat, 15 Feb 2020 11:07:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2zyW-0001NU-K2 for qemu-devel@nongnu.org; Sat, 15 Feb 2020 11:07:25 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:47096 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2zyW-0001My-G0 for qemu-devel@nongnu.org; Sat, 15 Feb 2020 11:07:24 -0500 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-284-DdwnNLO5NZCFGjuntjLWFA-1; Sat, 15 Feb 2020 11:07:22 -0500 Received: by mail-wr1-f72.google.com with SMTP id z15so5952137wrw.0 for ; Sat, 15 Feb 2020 08:07:21 -0800 (PST) Received: from localhost.localdomain (78.red-88-21-202.staticip.rima-tde.net. [88.21.202.78]) by smtp.gmail.com with ESMTPSA id b18sm12103829wru.50.2020.02.15.08.07.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 08:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581782843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0KddiZkYmDRfPOIEgujnl3Lx1NAvx6ywpvK43Vz9IJc=; b=QenY6Z277i6iMEffQ5ikB+MTKir7v8Dxl7MeucNNv4W1qehRsdJmQuKaqDFJXWy/wdbNwn 8T+GUXAPFJIk9BBjmNg+hi/c5NVMobci/Dwp+hnxUaxYInsLRTLss7fsZmwxDRwOZbLV87 00sgaKdEeapggTEDTiiLIOv4Yb0FFsk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JAdJtb0hXIPeTgI5pZzta7S4+kyeKW1TY66bu8o8P5k=; b=EodIuD30IJ+RGGl0vGPq09i7G3yAUdr4Ns/Kjzg87WXyM9ndVcyTrX6/2hsy3DBdFL pZRI+Ri04Ts0YQwd+ugu69O/p5WZoqI64LaFh3ZzuKYsCGGQPhmJ+EqoEtS4ZSIIXbzb K0XZTLBsyt0G3jAbTcNuKheyagkeJS8CoFzzIRkE9/6FxqRZ0ET5VAhWc/P6lYz6rOmw yu5IT9Jp15ZLvDeEx2ti0Pi+wNebv+wX4l6AqhYoJgeJOdJiYspebCgYAjmlrLdWiDDD Qi48hrcZ4lNRBl79/8qrVQniGaTdNPvYoW4BjMHzkRTRcMTlqzSiFebBpC+BNG2+kDno UN2w== X-Gm-Message-State: APjAAAUudR7DQQ9wdGC8xHK6IGiOa1ozY2Z/kdvfkc4UF10aFmwL0frE N2tbwxxb9VqE/Qw3LoaZyqI/EWhufv26CQd3+1zGJuI3iEkiwK9mf3jBWnURz5uFWXmCkrxJGWH EOCXUM2EVkiuZuLU= X-Received: by 2002:a7b:c5da:: with SMTP id n26mr11078710wmk.138.1581782840543; Sat, 15 Feb 2020 08:07:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwLuSL4ZupK1jkSGrKX19clyLz+q/nRGNfjCy1ZH29WzRBKy3vWKFzgtHeJFxk93hvLBibHSw== X-Received: by 2002:a7b:c5da:: with SMTP id n26mr11078699wmk.138.1581782840332; Sat, 15 Feb 2020 08:07:20 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 1/3] tools/virtiofsd/passthrough_ll: Remove unneeded variable assignment Date: Sat, 15 Feb 2020 17:07:14 +0100 Message-Id: <20200215160716.1262-2-philmd@redhat.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200215160716.1262-1-philmd@redhat.com> References: <20200215160716.1262-1-philmd@redhat.com> MIME-Version: 1.0 X-MC-Unique: DdwnNLO5NZCFGjuntjLWFA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Dr. David Alan Gilbert" , Stefan Hajnoczi Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" Fix warning reported by Clang static code analyzer: CC tools/virtiofsd/passthrough_ll.o tools/virtiofsd/passthrough_ll.c:1083:5: warning: Value stored to 'saverr= ' is never read saverr =3D ENOMEM; ^ ~~~~~~ Fixes: 7c6b66027 Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: J=C3=A1n Tomko --- tools/virtiofsd/passthrough_ll.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/virtiofsd/passthrough_ll.c b/tools/virtiofsd/passthrough= _ll.c index c635fc8820..e9e71d5fc2 100644 --- a/tools/virtiofsd/passthrough_ll.c +++ b/tools/virtiofsd/passthrough_ll.c @@ -1080,8 +1080,6 @@ static void lo_mknod_symlink(fuse_req_t req, fuse_ino= _t parent, return; } =20 - saverr =3D ENOMEM; - saverr =3D lo_change_cred(req, &old); if (saverr) { goto out; --=20 2.21.1