[SERVICES]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 4 Jun 2012 15:28:48 +0000 (15:28 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 4 Jun 2012 15:28:48 +0000 (15:28 +0000)
* Remove logically dead code. CID 513302.

svn path=/trunk/; revision=56695

reactos/base/system/services/rpcserver.c

index 056f924..a5f6454 100644 (file)
@@ -1237,9 +1237,6 @@ DWORD RControlService(
                       sizeof(SERVICE_STATUS));
     }
 
-    if ((dwError == ERROR_SUCCESS) && (pcbBytesNeeded))
-        dwError = ERROR_DEPENDENT_SERVICES_RUNNING;
-
     return dwError;
 }