]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: Use common error handling code in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 19 Sep 2024 17:00:25 +0000 (19:00 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 8 Oct 2024 21:37:16 +0000 (14:37 -0700)
commit5f4493f06e81e0de5a22cbf0ae4ead7a3037208e
tree1f90c3ba750bdadb2b5a79e3c8786a1c2fb4860e
parent8d873ccd8a0703587f743f9e9e474f48094b98d1
ice: Use common error handling code in two functions

Add jump targets so that a bit of exception handling can be better reused
at the end of two function implementations.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ptp.c