diff --git a/packages/ses/src/error/note-log-args.js b/packages/ses/src/error/note-log-args.js index a3473d7590..599811736a 100644 --- a/packages/ses/src/error/note-log-args.js +++ b/packages/ses/src/error/note-log-args.js @@ -72,13 +72,10 @@ const spliceAfter = (prev, selfCell) => { /** * @template Data * @param {DoublyLinkedCell} cell - * Must be a non-sigil part of a ring, and therefore non-self-linked + * No-op if the cell is self-linked. */ const spliceOut = cell => { const { prev, next } = cell; - if (prev === cell || next === cell) { - throw TypeError('Expected non-self-linked cell'); - } prev.next = next; next.prev = prev; cell.prev = cell;