]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 c50a58d9e368b9bc9b44acc2890d7e004d774bfe..c4f8adbf81441b2bcfa34a5777bc88d3562baf8a 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;
 }
 
 /*