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
|
* @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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user