On Fri, Sep 20, 2013 at 2:06 PM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote: > Driver core sets driver data to NULL upon failure or remove. > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> Acked-by: Manu Abraham <manu@xxxxxxxxxxx> > --- > drivers/media/pci/bt8xx/bt878.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/pci/bt8xx/bt878.c b/drivers/media/pci/bt8xx/bt878.c > index 66eb0ba..2bd2483 100644 > --- a/drivers/media/pci/bt8xx/bt878.c > +++ b/drivers/media/pci/bt8xx/bt878.c > @@ -563,7 +563,6 @@ static void bt878_remove(struct pci_dev *pci_dev) > bt->shutdown = 1; > bt878_mem_free(bt); > > - pci_set_drvdata(pci_dev, NULL); > pci_disable_device(pci_dev); > return; > } > -- > 1.7.9.5 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html