ptos: bpal: No need to return PT_STATUS
Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
@@ -51,7 +51,7 @@ VOID KeBpalInit(VOID);
|
||||
*
|
||||
* @Result: Result is written here
|
||||
*/
|
||||
PT_STATUS KeBpalGetHandle(BPAL_HANDLE *Result);
|
||||
VOID KeBpalGetHandle(BPAL_HANDLE *Result);
|
||||
|
||||
/* Backend protocol init */
|
||||
VOID KeBpalLimineInit(BPAL_HANDLE *Result);
|
||||
|
||||
@@ -18,15 +18,14 @@
|
||||
/* Globals */
|
||||
static BPAL_HANDLE BpalHandle;
|
||||
|
||||
PT_STATUS
|
||||
VOID
|
||||
KeBpalGetHandle(BPAL_HANDLE *Result)
|
||||
{
|
||||
if (Result == NULL) {
|
||||
return STATUS_INVALID_PARAM;
|
||||
return;
|
||||
}
|
||||
|
||||
*Result = BpalHandle;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
VOID
|
||||
|
||||
Reference in New Issue
Block a user