From patchwork Wed Jan 24 01:03:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 191278 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp701075dyi; Tue, 23 Jan 2024 17:03:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgNaJl6t3fp8ccy10F2x2FgT4yYXjux5pvo8xgRLz4k8jKP5GXHrodBjILbmizyz16xFi2 X-Received: by 2002:a7b:c358:0:b0:40e:41b8:1974 with SMTP id l24-20020a7bc358000000b0040e41b81974mr409163wmj.103.1706058225546; Tue, 23 Jan 2024 17:03:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706058225; cv=pass; d=google.com; s=arc-20160816; b=pBYtZiCKRlzVK3JTzQTZnXLJ6P0dTBMh+mCxAOgei081OLk6jkUBRLAVJw/Idaq6ri 6MZGOwII9SdYesShoTkvwR9BnOV8P8nLLXuZZDdtH05wAybehv5bue8tNkRI5/R7jPnj Pnw6Pi0UcJ6Mlta3n6DYp+cuR6BKRzCsD8Ui01gDt1pP/NIgoHZoLrStKBZ3fhqAtf/T p/FJrmzhcyHgEHbV7ye2tt0+j2FhkWrPaC90CyiCjjLSoWiia9CwGjIAq/5JQ7hqzxqW fj9002M/431I5NmEMhajEhm5re0cVCGvgZfYGleF/4PXlPBSTn9/9WB0Jq5+EnWx7gwO v9Yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=JlPnXBw3io2sC7hrq4K/Nm3EdFUUDctFRUDqCAAlq/w=; fh=ETKI0NrBSIftkAm6NdJjXtzX46xB7DKBqhgnUoZnIbM=; b=vfqzgkKK4WiCPmJFOhmdynk74yZv3k0/mOzjx0TtxjJtPY6KN3as+hfk9ErR1FYdgK P4M8evSRdkzTxmdPvFcvFkAC7MugIDAWKu4Zm64z6SJoTpuhx3yXeFsEgPJEK8elqHdb Dtjl9SYsVOLnFJBU8pUdjv8eEXd/l5/Y0jBNXIU4vsZ8SVl0Eyv69eG+p2yov+pY4EE1 pRA2hvUkTGdKVm5hNTsn/0QZQeFvPRkMKMrPznHoUhgQDwPgj+bm4bZHFfrIx4jFfAc4 OYodcn02wCKoapWzkZVCtVX8c70nSEWY9JoMB5AYZiwpTKOzh1gGX0URf+j+Jzoi+2Jt wZ6w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-36252-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36252-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y7-20020a50e607000000b005593cb82dd9si10154417edm.636.2024.01.23.17.03.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 17:03:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36252-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-36252-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36252-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2FE331F2ABBE for ; Wed, 24 Jan 2024 01:03:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71DBF17CB; Wed, 24 Jan 2024 01:03:31 +0000 (UTC) Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 173F910E3 for ; Wed, 24 Jan 2024 01:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.111 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706058210; cv=none; b=q2rRH0RIqp5oVXysqjOgfiD1AQZKf7KT+mi7sNv+dSsAiPRwSRyA1eaHKYArTZOEbNTK+wKu6tbzhQ3QfP0i1h5fk0uJZopo2Y5iAe15xtXZ4bDqJq8gd5OGJywf4933zOVvokPFVzANGzpchIeu+E6UkeMCLpKIaZUKjI2unUA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706058210; c=relaxed/simple; bh=hV6NqU0W1+Wf0pkFYtSJr6jS6L+KKlOLwkBT5Tj40U4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=oRvbsABr+d0mB9sS9dj7myFXiM/LvZGEzB4b2QgzCt9lLCFSoeBZPNx93PzPMLasLrb/Pqjb1I8kxX8PBrAVM+qwY+NazGbQtDbuxfJo6+gBvBmIGTXiY+z+lBUHnrwdKD0s42A/Hn1A3I2ltskIJaxKmjIYA9xi0PgH0nVeXgw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; arc=none smtp.client-ip=115.124.30.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W.E7vKj_1706058203; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W.E7vKj_1706058203) by smtp.aliyun-inc.com; Wed, 24 Jan 2024 09:03:24 +0800 From: Yang Li To: jaharkes@cs.cmu.edu, coda@cs.cmu.edu Cc: codalist@coda.cs.cmu.edu, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] fs: coda: Remove unused variable 'outp' in venus_rmdir Date: Wed, 24 Jan 2024 09:03:22 +0800 Message-Id: <20240124010322.94782-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788931709710852832 X-GMAIL-MSGID: 1788931709710852832 The variable 'outp' is declared but not used in the venus_rmdir function within the Coda filesystem module. This causes a compiler warning about the variable being set but not used. To clean up the code and address the compiler warning, this patch removes the declaration of the unused 'outp' variable. Signed-off-by: Yang Li --- fs/coda/upcall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c index cd6a3721f6f6..d97e0e4374f9 100644 --- a/fs/coda/upcall.c +++ b/fs/coda/upcall.c @@ -303,7 +303,6 @@ int venus_rmdir(struct super_block *sb, struct CodaFid *dirfid, const char *name, int length) { union inputArgs *inp; - union outputArgs *outp; int insize, outsize, error; int offset;