Revert "generic linked list"

This reverts commit 65459d04302dabf78f9f204de688313d33bdc1bb.