channels/smartcard: code style cleanup