locks: drop the unused filp argument to posix_unblock_lock
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / locks.c
index cb424a4..72fb2b7 100644 (file)
@@ -2099,13 +2099,12 @@ void locks_remove_flock(struct file *filp)
 
 /**
  *     posix_unblock_lock - stop waiting for a file lock
- *      @filp:   how the file was opened
  *     @waiter: the lock which was waiting
  *
  *     lockd needs to block waiting for locks.
  */
 int
-posix_unblock_lock(struct file *filp, struct file_lock *waiter)
+posix_unblock_lock(struct file_lock *waiter)
 {
        int status = 0;
 
@@ -2117,7 +2116,6 @@ posix_unblock_lock(struct file *filp, struct file_lock *waiter)
        unlock_flocks();
        return status;
 }
-
 EXPORT_SYMBOL(posix_unblock_lock);
 
 /**