]> 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)
commitfe65d2ddd83b1fd74c9ed91592457612e380becd
tree7d61cc145d32f079365ffa1099a02019684f5635
parent47a07598a5f4e886f8a80334e27309593e74b097
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