From 331a70b61e9d6b6e97aaa0a677bd16e3cd743c3f Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 17 Jun 2024 09:37:07 +0000 Subject: [PATCH] KNF --- sys/arch/riscv64/stand/efiboot/efiboot.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/arch/riscv64/stand/efiboot/efiboot.c b/sys/arch/riscv64/stand/efiboot/efiboot.c index ba319d673f5..1f52ac37859 100644 --- a/sys/arch/riscv64/stand/efiboot/efiboot.c +++ b/sys/arch/riscv64/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.8 2024/06/17 09:12:45 kettenis Exp $ */ +/* $OpenBSD: efiboot.c,v 1.9 2024/06/17 09:37:07 kettenis Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko @@ -96,8 +96,7 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) /* disable reset by watchdog after 5 minutes */ BS->SetWatchdogTimer(0, 0, 0, NULL); - status = BS->HandleProtocol(image, &imgp_guid, - (void **)&imgp); + status = BS->HandleProtocol(image, &imgp_guid, (void **)&imgp); if (status == EFI_SUCCESS) status = BS->HandleProtocol(imgp->DeviceHandle, &devp_guid, (void **)&dp); -- 2.20.1