Use error handling instead of success handling.
Less indented logic is easier to read.

Daniel Nguyen (1):
  ShellPkg: Tidy for code readability

 ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c | 41 +++++++++++---------
 1 file changed, 23 insertions(+), 18 deletions(-)

--
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111855): https://edk2.groups.io/g/devel/message/111855
Mute This Topic: https://groups.io/mt/102877863/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to