]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
idpf: update idpf_up_complete() return type to void
authorSreedevi Joshi <sreedevi.joshi@intel.com>
Wed, 26 Nov 2025 17:02:16 +0000 (11:02 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 9 Jan 2026 17:25:17 +0000 (09:25 -0800)
commit72dae6ad55df91adc68327b3ad5e69904d2136e0
tree6b5dfea00fe079f5acd84cfd751300e71c974351
parentee13aa1a2c5a68943a730ddbde300ba11b84229c
idpf: update idpf_up_complete() return type to void

idpf_up_complete() function always returns 0 and no callers use this return
value. Although idpf_vport_open() checks the return value, it only handles
error cases which never occur. Change the return type to void to simplify
the code.

Signed-off-by: Sreedevi Joshi <sreedevi.joshi@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf_lib.c