Messages in this thread | | | Date | Sat, 18 Feb 2023 16:13:19 +0000 | Subject | Re: [PATCH] bnx2: remove deadcode in bnx2_init_cpus() | From | Vadim Fedorenko <> |
| |
On 18.02.2023 13:00, Maxim Korotkov wrote: > The load_cpu_fw function has no error return code > and always returns zero. Checking the value returned by > this function does not make sense. > As a result, bnx2_init_cpus will also return only zero > In this case it's safe to convert both load_cpu_fw and bnx2_init_cpus to void and remove the check in bnx2_init_chip. This will reduce the code a bit.
| |