9p: Clean up some kdoc and unused var warnings.
Subsystems (2)
PATCH 1/1 9p: Clean up some kdoc and unused var warnings.
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 <[email protected]>
cc Eric Van Hensbergen <[email protected]>
cc Latchesar Ionkov <[email protected]>
cc Dominique Martinet <[email protected]>
cc Christian Schoenebeck <[email protected]>
--- fs/9p/vfs_inode_dotl.c | 4 ---- net/9p/trans_fd.c | 1 - 2 files changed, 5 deletions(-)
fs/9p/vfs_inode_dotl.c +0 -4
@@ -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);
net/9p/trans_fd.c +0 -1
@@ -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