channels/smartcard: cleanup old unpacking code