]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: hisilicon: hns: Remove reset helpers
authorDr. David Alan Gilbert <linux@treblig.org>
Wed, 18 Dec 2024 16:33:40 +0000 (16:33 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Dec 2024 20:56:17 +0000 (12:56 -0800)
commit0198b459f54e5813da4f6c36c867822401abc0c8
tree127ccc87fec08003492b8a381ec4cbc54e837cf6
parent0265e9edf2100735304907e9979a9264c4dc7b5e
net: hisilicon: hns: Remove reset helpers

With hns_dsaf_roce_reset() removed in a previous patch, the two
helper member pointers, 'hns_dsaf_roce_srst',  and 'hns_dsaf_srst_chns'
are now unread.

Remove them, and the helper functions that they were initialised
to, that is hns_dsaf_srst_chns(), hns_dsaf_srst_chns_acpi(),
hns_dsaf_roce_srst() and hns_dsaf_roce_srst_acpi().

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Jijie Shao<shaojijie@huawei.com>
Link: https://patch.msgid.link/20241218163341.40297-4-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c