]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: fd: Remove debugging code.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 8 Mar 2019 12:50:37 +0000 (13:50 +0100)
committerOlivier Houchard <cognet@ci0.org>
Fri, 8 Mar 2019 15:05:25 +0000 (16:05 +0100)
Remove a debugging test, and call to abort, it's no longer needed.

include/proto/fd.h

index d227ae03047c08dca9d4f1f571d44f29dbc91720..43ac0056078343052fe07559f908110e40baaeea 100644 (file)
@@ -148,8 +148,6 @@ static inline void done_update_polling(int fd)
        while ((update_mask & all_threads_mask)== 0) {
                /* If we were the last one that had to update that entry, remove it from the list */
                fd_rm_from_fd_list(&update_list, fd, offsetof(struct fdtab, update));
-               if (update_list.first == fd)
-                       abort();
                update_mask = (volatile unsigned long)fdtab[fd].update_mask;
                if ((update_mask & all_threads_mask) != 0) {
                        /* Maybe it's been re-updated in the meanwhile, and we