Loading
unic: deleted redundant code and added default processing
driver inclusion category: cleancode bugzilla: https://gitee.com/openeuler/kernel/issues/IAKMX4 CVE: NA ---------------------------------------------------------------- Currently, there are some issues in the driver code, such as unused function parameters, redundant code implementation, and undefined default branches in switches. This patch addresses these issues while also fixing some problems that do not affect functionality but do affect code readability, such as relocating the unic debugfs and fastpatch code. Fixes: 1cdab773 ("UNIC: Supports query, configuration, and management of IP entry") Signed-off-by:Haibin Lu <luhaibin10@hisilicon.com> Signed-off-by:
Junxin Chen <chenjunxin1@huawei.com>