ptos: bpal: No need to return PT_STATUS

Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
2026-07-10 06:49:52 +00:00
parent 163115f9c5
commit 44f0afaddd
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ VOID KeBpalInit(VOID);
* *
* @Result: Result is written here * @Result: Result is written here
*/ */
PT_STATUS KeBpalGetHandle(BPAL_HANDLE *Result); VOID KeBpalGetHandle(BPAL_HANDLE *Result);
/* Backend protocol init */ /* Backend protocol init */
VOID KeBpalLimineInit(BPAL_HANDLE *Result); VOID KeBpalLimineInit(BPAL_HANDLE *Result);
+2 -3
View File
@@ -18,15 +18,14 @@
/* Globals */ /* Globals */
static BPAL_HANDLE BpalHandle; static BPAL_HANDLE BpalHandle;
PT_STATUS VOID
KeBpalGetHandle(BPAL_HANDLE *Result) KeBpalGetHandle(BPAL_HANDLE *Result)
{ {
if (Result == NULL) { if (Result == NULL) {
return STATUS_INVALID_PARAM; return;
} }
*Result = BpalHandle; *Result = BpalHandle;
return STATUS_SUCCESS;
} }
VOID VOID