mirror of https://github.com/acidanthera/audk.git
NetworkPkg/TcpDxe: fix SockFreeFoo() parameter list
The SockFreeFoo() callback function for NetbufFromExt() has to match the NET_VECTOR_EXT_FREE prototype, which takes a (VOID*) as callback argument (Arg). EFI_EVENT has nothing to do with NET_VECTOR_EXT_FREE. Fix the SockFreeFoo() parameter list. This change is a no-op in practice. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
This commit is contained in:
parent
2c9abfd5bb
commit
30af652ee1
|
@ -67,13 +67,13 @@ SockBufNext (
|
|||
/**
|
||||
User provided callback function for NetbufFromExt.
|
||||
|
||||
@param[in] Event The Event this notify function registered to, ignored.
|
||||
@param[in] Arg The Arg parameter forwarded by NetbufFromExt(). Ignored.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
SockFreeFoo (
|
||||
IN EFI_EVENT Event
|
||||
IN VOID *Arg
|
||||
)
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue