Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- drivers/block/loop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 9176784d4fca..e93baff664c9 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -2486,7 +2486,7 @@ static int loop_control_remove(int idx) return ret; } -static int loop_control_get_free(int idx) +static int loop_control_get_free(void) { struct loop_device *lo; int id, ret; @@ -2514,7 +2514,7 @@ static long loop_control_ioctl(struct file *file, unsigned int cmd, case LOOP_CTL_REMOVE: return loop_control_remove(parm); case LOOP_CTL_GET_FREE: - return loop_control_get_free(parm); + return loop_control_get_free(); default: return -ENOSYS; } -- 2.30.2