Skip to content

Commit

Permalink
ax25: Remove superfuous "return" from ax25_ds_set_timer
Browse files Browse the repository at this point in the history
Remove the explicit call to "return" in the void ax25_ds_set_timer
function that was introduced in 78a7b5d ("ax.25: x.25: Remove the
now superfluous sentinel elements from ctl_table array").

Signed-off-by: Joel Granados <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Joelgranados authored and davem330 committed May 8, 2024
1 parent 2b696a2 commit 1d3985e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ax25/ax25_ds_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 1d3985e

Please sign in to comment.