]> git.baikalelectronics.ru Git - kernel.git/commit
ax25: merge repeat codes in ax25_dev_device_down()
authorLu Wei <luwei32@huawei.com>
Mon, 16 May 2022 06:28:04 +0000 (14:28 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 17 May 2022 10:24:16 +0000 (12:24 +0200)
commit4c8b6c1e4e24ac95cafd78531780b1273d783acc
treedebe11b4f5f335e03f4f9667e8218b38e3c241ef
parent9bdb9ef143cbec0bbe2808b26d1f7dcc903c727c
ax25: merge repeat codes in ax25_dev_device_down()

Merge repeat codes to reduce the duplication.

Signed-off-by: Lu Wei <luwei32@huawei.com>
Link: https://lore.kernel.org/r/20220516062804.254742-1-luwei32@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/ax25/ax25_dev.c