media: dvb: digitv: remove unused array element 0
authorSean Young <sean@mess.org>
Thu, 12 Mar 2020 09:22:45 +0000 (10:22 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 10:53:53 +0000 (12:53 +0200)
commit953f10064140327868ac451eefb0db1becbef200
tree7d61cc145d32f079365ffa1099a02019684f5635
parente6940c03dd628a223f6cce6581686bdb2e09936b
media: dvb: digitv: remove unused array element 0

The first element of the key array is not used. Remove it, and
along with it a uninitialized memory read.

This should fix the rc debug message.

Link: https://www.spinics.net/lists/kernel/msg3374861.html
Suggested-by: Phong Tran <tranmanphong@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/dvb-usb/digitv.c