]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/ResetSystemLib: improve coding style in ResetSystem()
authorLaszlo Ersek <lersek@redhat.com>
Fri, 17 Apr 2020 15:37:48 +0000 (17:37 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 22 Apr 2020 19:42:32 +0000 (19:42 +0000)
commit92958abf7a0c87c6be3854bc1a5df2dfa35b876c
tree3ab184cb3d15ae076a7f1d2b6316eee339e433c1
parent002f38a44a774648e88bc559f2b739e777a49017
OvmfPkg/ResetSystemLib: improve coding style in ResetSystem()

The cases under ResetSystem() currently mix "break"s with "return"s for no
good reason. Use "break" consistently.

(The inconsistency was introduced in commit 84c0b80de716,
"OvmfPkg/ResetSystemLib: Add new API ResetSystem", 2019-04-28.)

Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Rebecca Cran <rebecca@bsdio.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2675
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200417153751.7110-4-lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c