Message ID | 20240507-jag-fix_void_ret_ax25-v1-1-507fb246f192@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1d3985ed0dd3de7ee152ede633fe859806c38595 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] ax25: Remove superfuous "return" from ax25_ds_set_timer | expand |
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Tue, 07 May 2024 10:40:39 +0200 you wrote: > From: Joel Granados <j.granados@samsung.com> > > 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> > > [...] Here is the summary with links: - [net-next] ax25: Remove superfuous "return" from ax25_ds_set_timer https://git.kernel.org/netdev/net-next/c/1d3985ed0dd3 You are awesome, thank you!
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; } /*