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 fa1c298a8cfb..35d8b30d1f25 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -2466,7 +2466,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; @@ -2494,7 +2494,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