diff options
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r-- | winsup/cygwin/miscfuncs.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc index c7099dc9b..706347240 100644 --- a/winsup/cygwin/miscfuncs.cc +++ b/winsup/cygwin/miscfuncs.cc @@ -1,7 +1,7 @@ /* miscfuncs.cc: misc funcs that don't belong anywhere else Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Red Hat, Inc. + 2005, 2006, 2007, 2008, 2011 Red Hat, Inc. This file is part of Cygwin. @@ -312,10 +312,6 @@ nice_to_winprio (int &nice) else if (nice > NZERO - 1) nice = NZERO - 1; DWORD prio = priority[nice + NZERO]; - if (!wincap.has_extended_priority_class () - && (prio == BELOW_NORMAL_PRIORITY_CLASS - || prio == ABOVE_NORMAL_PRIORITY_CLASS)) - prio = NORMAL_PRIORITY_CLASS; return prio; } |