forked from freebsd/freebsd-src
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DPAA2: further simplify dpaa2_ni_miibus_statchg()
There's no need for the rror goto anymore as the default path just runs through the same code in both error and non-error cases. Simplify the function further, and only initialize variables when we actually need it now.
- Loading branch information
Bjoern A. Zeeb
authored and
Bjoern A. Zeeb
committed
Jun 23, 2022
1 parent
48c632f
commit 775df1f
Showing
1 changed file
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters