From: Sachin Kamat Date: Fri, 20 Sep 2013 07:37:51 +0000 (-0300) Subject: [media] radio-sf16fmr2: Remove redundant dev_set_drvdata X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3bf740bf8d4258e1e22176761663cf298518def3;p=openwrt%2Fstaging%2Fblogic.git [media] radio-sf16fmr2: Remove redundant dev_set_drvdata Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Acked-by: Hans Verkuil Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c index 620c4907e701..93d864eb8306 100644 --- a/drivers/media/radio/radio-sf16fmr2.c +++ b/drivers/media/radio/radio-sf16fmr2.c @@ -295,7 +295,6 @@ static void fmr2_remove(struct fmr2 *fmr2) static int fmr2_isa_remove(struct device *pdev, unsigned int ndev) { fmr2_remove(dev_get_drvdata(pdev)); - dev_set_drvdata(pdev, NULL); return 0; }