]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb42d97e1fd400949df7667d0f117a98b7d84d7d
tree7d61cc145d32f079365ffa1099a02019684f5635
parent62aac44a170296ddacfed4e7accfd0fde5f220ec
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