summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2018-04-06 10:09:42 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-04-09 10:23:42 -0700
commita1f69417c6f4d1c5280ffb795da7778cba1e1451 (patch)
tree91b5e753bec450b1c82ccb12b037ae25ffa5fc01 /fs/xfs/xfs_inode.c
parent7fcd3efa1e9ebebf71f9c65f6c0a8ce993122424 (diff)
downloadblackbird-obmc-linux-a1f69417c6f4d1c5280ffb795da7778cba1e1451.tar.gz
blackbird-obmc-linux-a1f69417c6f4d1c5280ffb795da7778cba1e1451.zip
xfs: non-scrub - remove unused function parameters
Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index c2a16b305f08..c09774ca53ae 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -1301,7 +1301,6 @@ xfs_create(
int
xfs_create_tmpfile(
struct xfs_inode *dp,
- struct dentry *dentry,
umode_t mode,
struct xfs_inode **ipp)
{
@@ -2895,7 +2894,7 @@ xfs_rename_alloc_whiteout(
struct xfs_inode *tmpfile;
int error;
- error = xfs_create_tmpfile(dp, NULL, S_IFCHR | WHITEOUT_MODE, &tmpfile);
+ error = xfs_create_tmpfile(dp, S_IFCHR | WHITEOUT_MODE, &tmpfile);
if (error)
return error;
OpenPOWER on IntegriCloud