media: drivers: delete unnecessary variable initialisations
The variables will be set to an appropriate value before usage. Thus omit the explicit initialisation at the beginning. [mchehab@s-opensource.com: fold similar patches into one] Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Hans Verkuil <hansverk@cisco.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
c38e8657a4
commit
d303b7c5b2
@@ -161,7 +161,7 @@ static int hopper_pci_probe(struct pci_dev *pdev,
|
||||
struct mantis_pci_drvdata *drvdata;
|
||||
struct mantis_pci *mantis;
|
||||
struct mantis_hwconfig *config;
|
||||
int err = 0;
|
||||
int err;
|
||||
|
||||
mantis = kzalloc(sizeof(struct mantis_pci), GFP_KERNEL);
|
||||
if (mantis == NULL) {
|
||||
|
Reference in New Issue
Block a user