diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-05-30 08:17:24 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-05-30 08:17:24 +0000 |
commit | 21500a434a813b41ac28f66a97e0149b4980f2a1 (patch) | |
tree | f5f28dc5952f2a32417d65ecd26eb965b124ed7e /EdkUnixPkg/Dxe | |
parent | b19cfa69e7c2da5bb1a976ef0ca5c9d21a287695 (diff) | |
download | edk2-21500a434a813b41ac28f66a97e0149b4980f2a1.zip edk2-21500a434a813b41ac28f66a97e0149b4980f2a1.tar.gz edk2-21500a434a813b41ac28f66a97e0149b4980f2a1.tar.bz2 |
Remove unused variable and function
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2606 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/Dxe')
-rw-r--r-- | EdkUnixPkg/Dxe/UnixThunk/Bus/SerialIo/UnixSerialIo.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/EdkUnixPkg/Dxe/UnixThunk/Bus/SerialIo/UnixSerialIo.c b/EdkUnixPkg/Dxe/UnixThunk/Bus/SerialIo/UnixSerialIo.c index 58cc689..e3fd034 100644 --- a/EdkUnixPkg/Dxe/UnixThunk/Bus/SerialIo/UnixSerialIo.c +++ b/EdkUnixPkg/Dxe/UnixThunk/Bus/SerialIo/UnixSerialIo.c @@ -58,25 +58,6 @@ EFI_DRIVER_BINDING_PROTOCOL gUnixSerialIoDriverBinding = { };
STATIC
-VOID
-PrintSerialParameter(
- UNIX_SERIAL_IO_PRIVATE_DATA *Private
- )
-{
- struct termios Options;
-
- if (Private->UnixThunk->Tcgetattr (Private->UnixHandle, &Options) == 0) {
- DEBUG ((EFI_D_INFO, "Serial[0x%x]:Input mode: 0x%x\r\n", Private->UnixHandle, Options.c_iflag));
- DEBUG ((EFI_D_INFO, "Serial[0x%x]:Output mode: 0x%x\r\n", Private->UnixHandle, Options.c_oflag));
- DEBUG ((EFI_D_INFO, "Serial[0x%x]:Control flag: 0x%x\r\n", Private->UnixHandle, Options.c_cflag));
- DEBUG ((EFI_D_INFO, "Serial[0x%x]:Local mode flag: 0x%x\r\n", Private->UnixHandle, Options.c_lflag));
- DEBUG ((EFI_D_INFO, "Serial[0x%x]:Line discipline: 0x%x\r\n", Private->UnixHandle, Options.c_line));
- DEBUG ((EFI_D_INFO, "Serial[0x%x]:Input Speed: 0x%x\r\n", Private->UnixHandle, Options.c_ispeed));
- DEBUG ((EFI_D_INFO, "Serial[0x%x]:Output Speed: 0x%x\r\n", Private->UnixHandle, Options.c_ospeed));
- }
-}
-
-STATIC
UINTN
ConvertBaud2Unix (
UINT64 BaudRate
@@ -1134,7 +1115,6 @@ Returns: UNIX_SERIAL_IO_PRIVATE_DATA *Private;
UINTN Result;
UINTN Status;
- struct termios Options;
UINT32 Bits;
EFI_TPL Tpl;
UINTN Bytes;
|