]> www.infradead.org Git - nvme.git/commit
kdb: Get rid of redundant kdb_curr_task()
authorZheng Zengkai <zhengzengkai@huawei.com>
Thu, 20 Jun 2024 14:21:32 +0000 (22:21 +0800)
committerDaniel Thompson <daniel.thompson@linaro.org>
Fri, 21 Jun 2024 14:49:29 +0000 (15:49 +0100)
commit9bccbe7b20876a34c70b13430ea1b308fc8d5a7e
tree96868084d8f06e91790fdd06e8fe9ba1eea9c0d6
parente2e821095949cde46256034975a90f88626a2a73
kdb: Get rid of redundant kdb_curr_task()

Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")
removed the only definition of macro _TIF_MCA_INIT, so kdb_curr_task()
is actually the same as curr_task() now and becomes redundant.

Let's remove the definition of kdb_curr_task() and replace remaining
calls with curr_task().

Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20240620142132.157518-1-zhengzengkai@huawei.com
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
kernel/debug/kdb/kdb_bt.c
kernel/debug/kdb/kdb_main.c
kernel/debug/kdb/kdb_private.h