From patchwork Thu Mar 28 16:33:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 13608969 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F2F7CD1283 for ; Thu, 28 Mar 2024 16:35:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8BB446B009C; Thu, 28 Mar 2024 12:35:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 843F16B009D; Thu, 28 Mar 2024 12:35:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6BE646B009E; Thu, 28 Mar 2024 12:35:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 482FF6B009C for ; Thu, 28 Mar 2024 12:35:01 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 04695160434 for ; Thu, 28 Mar 2024 16:35:00 +0000 (UTC) X-FDA: 81946997202.10.9E76166 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf30.hostedemail.com (Postfix) with ESMTP id 68C4F80021 for ; Thu, 28 Mar 2024 16:34:59 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=OUiPfeSj; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf30.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711643699; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=hDfAk4YAlKNdLmSwUMxTH3zTc83Y1JZRxoVOBJSESsg=; b=k/hWMpLyNBNSzn7xKq0YN7FQQ7KxPmQNEKeg18DtaOLB+IjsEU3Y00O4NOB6fnhRNO2guG cvZoY2IshMpnOE1sHvnO2+Bg/v8dgU0FHNi0IrAczI8i3oydPvYz6+5uQmmLmaIg0drnwl 6rD7S2XML0O+Ck1VsKjcF0ifoCvfslk= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=OUiPfeSj; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf30.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711643699; a=rsa-sha256; cv=none; b=aGNDqNRshau9DZRrX+aXOBkIAGIBMnyI1sNPGniGGQtTFcyTHL27AGneniOuojhs4MLQGy TKIsUcVartw5yOwJHLcZFp6a1yb0XMyv7/mfZm+qmCs3TUFbgEQiR2J+RprZc+2EKyKlzf bFDoXCYWr2wntRyvzk1Nyy0YouNtJ+M= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711643698; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hDfAk4YAlKNdLmSwUMxTH3zTc83Y1JZRxoVOBJSESsg=; b=OUiPfeSjvHD2tGoFEPMRg8yDQgtD3hn5/QnYtwdLmbkU6IkFBRbt4eY7UMJiybHSIjNS2P jfuZrhBNZ7dbfkqOzzmjh32wmnLjlg0x4BwtDYqSyQhQCbJIOTq1vJfv+fasnORpFR6rLc mOmJgXSpWinxwptl3oKzVr/irkzRQE0= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-696-HdMk_3MKM8CSF0IznLHt6w-1; Thu, 28 Mar 2024 12:34:53 -0400 X-MC-Unique: HdMk_3MKM8CSF0IznLHt6w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1060F3C0BE45; Thu, 28 Mar 2024 16:34:51 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.146]) by smtp.corp.redhat.com (Postfix) with ESMTP id BA9EB492BC6; Thu, 28 Mar 2024 16:34:47 +0000 (UTC) From: David Howells To: Christian Brauner , Jeff Layton , Gao Xiang , Dominique Martinet Cc: David Howells , Matthew Wilcox , Steve French , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , netfs@lists.linux.dev, linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Latchesar Ionkov , Christian Schoenebeck Subject: [PATCH 02/26] 9p: Clean up some kdoc and unused var warnings. Date: Thu, 28 Mar 2024 16:33:54 +0000 Message-ID: <20240328163424.2781320-3-dhowells@redhat.com> In-Reply-To: <20240328163424.2781320-1-dhowells@redhat.com> References: <20240328163424.2781320-1-dhowells@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 68C4F80021 X-Stat-Signature: sfaq56gc39hpqkgbw3aqsj7ogxks8sy9 X-HE-Tag: 1711643699-152586 X-HE-Meta: U2FsdGVkX1+oQl7yoU/fz/pWUA2ns8qY5EVrQYFZO7yinZjrEv0TIs0XjM3VFEfnCBIw9JebpMfDj5WJ7upDUGF1J2PelKV5sgA7YvhLtlMTQcRxrosNwrd5lYw6ZWeFXZr6wpZ/O5hJr/G1b60hEazsWIEaPOdFjKcxd0A5qhk1txaV3/9rtE2cgV+8Qggu3fkWKkgoZ44ieGu9dYZUsNiGsa0bq3vsOgPMdjR3dcdcFxlelClOScTaIri19oo6iMyhTi5Vql579XnceIQ+VMCMUMIJAJhtymaUeCS8dRZKlfGHKDm8MRcegpc76uZG60Bk7ZqgFfmdh0+QW5lswq+sAlsB0eyXJTtXc7hOsVrTnUuK40lr4qm79Rd5CKeMtvxAJpQwV7zSltH2BrTvuD5PnLGEUCXFT0klviK8SKRyHi9aBz37ohX8GTK20lkfXr6jqac7VvD104XoW1Vmr8al/XGWWRns7YizFhxx+tPxd5fgz7MloEZFB8X/tpd8wJQk9dyCandrCucF4Ru0zsUKYKucWmWNPtxaCKz6YoJhk69ASV/l4CmQ8IbH7SS/6Cf64RTqhpIwxir2pRFs7YrO6xZEwWVxre0O5DTf5729uJklSs0Uz8YvDN4F6E/mYNWztRrSIn3dOnhGo+gmB+PvtQMxzggHE6b2ZtEUJncfwtyD7xldcwlS24il5ROBgnq9Y9zTG22aKTRVwVPLijTsg82k2oHm2PJT6L8c2CZ70iT7lQAqRc1WPmYGripKmWdrWmYBOH0s1YpiYyEsEg2tRw54GqHLRgmaogzzPdNh0L5g4ezomjNQL2ZqrwG10DdtuKQ39/Tchg0c50l4SptkrHEStJwpnf9JJvgsJlF0vyXs9HIGGXtcjW3vuZKTexV11pV7QytLKTnfAqOIZg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Remove the kdoc for the removed 'req' member of the 9p_conn struct. Remove a pair of set-but-not-used v9ses variables. Signed-off-by: David Howells cc: Eric Van Hensbergen cc: Latchesar Ionkov cc: Dominique Martinet cc: Christian Schoenebeck cc: v9fs@lists.linux.dev --- fs/9p/vfs_inode_dotl.c | 4 ---- net/9p/trans_fd.c | 1 - 2 files changed, 5 deletions(-) diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c index ef9db3e03506..7af27ba1c25d 100644 --- a/fs/9p/vfs_inode_dotl.c +++ b/fs/9p/vfs_inode_dotl.c @@ -297,7 +297,6 @@ static int v9fs_vfs_mkdir_dotl(struct mnt_idmap *idmap, umode_t omode) { int err; - struct v9fs_session_info *v9ses; struct p9_fid *fid = NULL, *dfid = NULL; kgid_t gid; const unsigned char *name; @@ -307,7 +306,6 @@ static int v9fs_vfs_mkdir_dotl(struct mnt_idmap *idmap, struct posix_acl *dacl = NULL, *pacl = NULL; p9_debug(P9_DEBUG_VFS, "name %pd\n", dentry); - v9ses = v9fs_inode2v9ses(dir); omode |= S_IFDIR; if (dir->i_mode & S_ISGID) @@ -739,7 +737,6 @@ v9fs_vfs_mknod_dotl(struct mnt_idmap *idmap, struct inode *dir, kgid_t gid; const unsigned char *name; umode_t mode; - struct v9fs_session_info *v9ses; struct p9_fid *fid = NULL, *dfid = NULL; struct inode *inode; struct p9_qid qid; @@ -749,7 +746,6 @@ v9fs_vfs_mknod_dotl(struct mnt_idmap *idmap, struct inode *dir, dir->i_ino, dentry, omode, MAJOR(rdev), MINOR(rdev)); - v9ses = v9fs_inode2v9ses(dir); dfid = v9fs_parent_fid(dentry); if (IS_ERR(dfid)) { err = PTR_ERR(dfid); diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index 1a3948b8c493..196060dc6138 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c @@ -95,7 +95,6 @@ struct p9_poll_wait { * @unsent_req_list: accounting for requests that haven't been sent * @rreq: read request * @wreq: write request - * @req: current request being processed (if any) * @tmp_buf: temporary buffer to read in header * @rc: temporary fcall for reading current frame * @wpos: write position for current frame