From: Bartosz Golaszewski Date: Tue, 29 Sep 2020 10:10:00 +0000 (+0200) Subject: gpio: mockup: remove unneeded return statement X-Git-Tag: io_uring-5.10-2020-10-20~96^2~4^2~24 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=66f222ef45f3d55121fd69bd5d03e74c0d1ff1e5;p=linux-block.git gpio: mockup: remove unneeded return statement There's a return; at the end of a void function. This is not needed so remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index c2b2f7d5ff34..de778b52f355 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -372,8 +372,6 @@ static void gpio_mockup_debugfs_setup(struct device *dev, debugfs_create_file(name, 0200, chip->dbg_dir, priv, &gpio_mockup_debugfs_ops); } - - return; } static int gpio_mockup_name_lines(struct device *dev,