diff options
| author | 2021-03-26 02:23:28 +0000 | |
|---|---|---|
| committer | 2021-04-16 21:03:50 +0200 | |
| commit | d7840aaadd6e84915866a8f0dab586f6107dadf1 (patch) | |
| tree | 1c538c7b94fcd5af6d2335e7fc95dda6895c5cf1 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | time/timecounter: Mark 1st argument of timecounter_cyc2time() as const (diff) | |
| download | linux-dev-d7840aaadd6e84915866a8f0dab586f6107dadf1.tar.xz linux-dev-d7840aaadd6e84915866a8f0dab586f6107dadf1.zip | |
tick: Use tick_check_replacement() instead of open coding it
The function tick_check_replacement() is the combination of
tick_check_percpu() and tick_check_preferred(), but tick_check_new_device()
has the same logic open coded.
Use the helper to simplify the code.
[ tglx: Massage changelog ]
Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210326022328.3266-1-wangwensheng4@huawei.com
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
