Gerald Pfeifer : server: Remove dead check in is_cpu_supported().
Alexandre Julliard
julliard at winehq.org
Wed Jan 25 13:18:53 CST 2017
Module: wine
Branch: master
Commit: 4598d32ab418269a6aca3afd2207f0837211f2ca
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4598d32ab418269a6aca3afd2207f0837211f2ca
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Jan 21 16:25:08 2017 +0100
server: Remove dead check in is_cpu_supported().
Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/thread.c b/server/thread.c
index e18c208..67f976d 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -1220,7 +1220,7 @@ int is_cpu_supported( enum cpu_type cpu )
{
unsigned int prefix_cpu_mask = get_prefix_cpu_mask();
- if (CPU_FLAG(cpu) && (supported_cpus & prefix_cpu_mask & CPU_FLAG(cpu))) return 1;
+ if (supported_cpus & prefix_cpu_mask & CPU_FLAG(cpu)) return 1;
if (!(supported_cpus & prefix_cpu_mask))
set_error( STATUS_NOT_SUPPORTED );
else if (supported_cpus & CPU_FLAG(cpu))
More information about the wine-cvs
mailing list