Merge tag 'cris-for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper...
[firefly-linux-kernel-4.4.55.git] / fs / sysv / namei.c
index 1c0d5f264767df5ebc7bf0dc77a0267b097a4052..731b2bbcaab37f7e8d4da84dcc9e9600d3b4e969 100644 (file)
@@ -27,8 +27,7 @@ static int add_nondir(struct dentry *dentry, struct inode *inode)
        return err;
 }
 
-static int sysv_hash(const struct dentry *dentry, const struct inode *inode,
-               struct qstr *qstr)
+static int sysv_hash(const struct dentry *dentry, struct qstr *qstr)
 {
        /* Truncate the name in place, avoids having to define a compare
           function. */