Amd64/misc 64bit fixes (#236)
[reactos.git] / drivers / serial / serial / cleanup.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: Serial port driver
4 * FILE: drivers/dd/serial/cleanup.c
5 * PURPOSE: Serial IRP_MJ_CLEANUP operations
6 *
7 * PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
8 */
9
10 #include "serial.h"
11
12 #include <debug.h>
13
14 NTSTATUS NTAPI
15 SerialCleanup(
16 IN PDEVICE_OBJECT DeviceObject,
17 IN PIRP Irp)
18 {
19 TRACE_(SERIAL, "IRP_MJ_CLEANUP\n");
20 Irp->IoStatus.Information = 0;
21 Irp->IoStatus.Status = STATUS_SUCCESS;
22 IoCompleteRequest(Irp, IO_NO_INCREMENT);
23 return STATUS_SUCCESS;
24 }