ChannelSelection: Simplify the code a bit

As the local variable "end" is not really required