Gerald Pfeifer : server: Remove dead check in is_cpu_supported().
Module: wine Branch: master Commit: 4598d32ab418269a6aca3afd2207f0837211f2ca URL: http://source.winehq.org/git/wine.git/?a=commit;h=4598d32ab418269a6aca3afd22... Author: Gerald Pfeifer <gerald(a)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(a)pfeifer.com> Signed-off-by: Alexandre Julliard <julliard(a)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))
participants (1)
-
Alexandre Julliard