mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-25 00:14:06 -05:00
[media] cx23885-dvb: initialize a8293_pdata
As reported by smatch: drivers/media/pci/cx23885/cx23885-dvb.c:2174 dvb_register() info: 'a8293_pdata' is not actually initialized (unreached code). Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
@@ -2171,7 +2171,7 @@ static int dvb_register(struct cx23885_tsport *port)
|
||||
case CX23885_BOARD_HAUPPAUGE_HVR5525:
|
||||
switch (port->nr) {
|
||||
struct m88rs6000t_config m88rs6000t_config;
|
||||
struct a8293_platform_data a8293_pdata = {};
|
||||
struct a8293_platform_data a8293_pdata = { 0 };
|
||||
|
||||
/* port b - satellite */
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user