Yes it is indeed not being used as this kernel assumes the number of offsets being 3 (you can see the data type of data_offsets, which is uint3).
The kernel was originally designed for handling binary operations, i.e. binary inputs, so the offsets represent input(self), other, and output, respectively.