summaryrefslogtreecommitdiff
path: root/net/ax25
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2024-05-07 11:40:39 +0300
committerDavid S. Miller <davem@davemloft.net>2024-05-08 14:23:10 +0300
commit1d3985ed0dd3de7ee152ede633fe859806c38595 (patch)
treea70c064baba5d1e23cd17401f42f25e8f9f87878 /net/ax25
parent2b696a2a101d36530227056b43e5c4ec05bcefc2 (diff)
downloadlinux-1d3985ed0dd3de7ee152ede633fe859806c38595.tar.xz
ax25: Remove superfuous "return" from ax25_ds_set_timer
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>
Diffstat (limited to 'net/ax25')
-rw-r--r--net/ax25/ax25_ds_timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ax25/ax25_ds_timer.c b/net/ax25/ax25_ds_timer.c
index c50a58d9e368..c4f8adbf8144 100644
--- a/net/ax25/ax25_ds_timer.c
+++ b/net/ax25/ax25_ds_timer.c
@@ -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;
}
/*