ax25: Remove superfuous "return" from ax25_ds_set_timer
authorJoel Granados <j.granados@samsung.com>
Tue, 7 May 2024 08:40:39 +0000 (10:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2024 11:23:10 +0000 (12:23 +0100)
Remove the explicit call to "return" in the void ax25_ds_set_timer
function that was introduced in 78a7b5dbc060 ("ax.25: x.25: Remove the
now superfluous sentinel elements from ctl_table array").

Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/ax25_ds_timer.c

index c50a58d..c4f8adb 100644 (file)
@@ -55,7 +55,6 @@ void ax25_ds_set_timer(ax25_dev *ax25_dev)
        ax25_dev->dama.slave_timeout =
                msecs_to_jiffies(ax25_dev->values[AX25_VALUES_DS_TIMEOUT]) / 10;
        mod_timer(&ax25_dev->dama.slave_timer, jiffies + HZ);
-       return;
 }
 
 /*