diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2025-08-13 15:05:15 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-19 12:37:13 +0200 |
| commit | 82bfe76853762a7d2b7d699da0e5dbd094f8f998 (patch) | |
| tree | b0b3f8edc7ac7b6f1b3c66e6b8121993ea4dd08a /drivers/misc/apds990x.c | |
| parent | 807221d3c5ff6e3c91ff57bc82a0b7a541462e20 (diff) | |
misc: apds990x: Drop superfluous return statement
Drop a return statement that immediately follows another return
statement, and thus is never executed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/673e667895603b1a1b1ae8ec89e333ac15f4412b.1755090287.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/apds990x.c')
| -rw-r--r-- | drivers/misc/apds990x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c index e7d73c972f65..58946c4ff1a5 100644 --- a/drivers/misc/apds990x.c +++ b/drivers/misc/apds990x.c @@ -984,7 +984,6 @@ static ssize_t apds990x_power_state_show(struct device *dev, struct device_attribute *attr, char *buf) { return sprintf(buf, "%d\n", !pm_runtime_suspended(dev)); - return 0; } static ssize_t apds990x_power_state_store(struct device *dev, |