diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/SelectorUtil.java b/src/main/java/org/jboss/netty/channel/socket/nio/SelectorUtil.java index cc64059761..4730fa6f79 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/SelectorUtil.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/SelectorUtil.java @@ -49,11 +49,6 @@ final class SelectorUtil { static void select(Selector selector) throws IOException { try { - for (int i = 0; i < 32; i ++) { - if (selector.selectNow() > 0) { - return; - } - } selector.select(10); } catch (CancelledKeyException e) { if (logger.isDebugEnabled()) {