Message ID | 004001ceb800$02a5e3a0$07f1aae0$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-media-owner@kernel.org> X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7F4349F288 for <patchwork-linux-media@patchwork.kernel.org>; Mon, 23 Sep 2013 01:55:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC70A200F8 for <patchwork-linux-media@patchwork.kernel.org>; Mon, 23 Sep 2013 01:55:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB185200E7 for <patchwork-linux-media@patchwork.kernel.org>; Mon, 23 Sep 2013 01:55:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753152Ab3IWBzp (ORCPT <rfc822;patchwork-linux-media@patchwork.kernel.org>); Sun, 22 Sep 2013 21:55:45 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:37192 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752611Ab3IWBzo (ORCPT <rfc822;linux-media@vger.kernel.org>); Sun, 22 Sep 2013 21:55:44 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MTK00JV12OTWMH0@mailout3.samsung.com> for linux-media@vger.kernel.org; Mon, 23 Sep 2013 10:55:43 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 64.0C.30629.E9F9F325; Mon, 23 Sep 2013 10:55:42 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-4f-523f9f9e0176 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id FC.3B.05832.E9F9F325; Mon, 23 Sep 2013 10:55:42 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MTK005PN2OUOIO0@mmp2.samsung.com>; Mon, 23 Sep 2013 10:55:42 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Mauro Carvalho Chehab' <m.chehab@samsung.com> Cc: linux-media@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>, 'Ondrej Zary' <linux@rainbow-software.org>, 'Hans Verkuil' <hans.verkuil@cisco.com> References: <003601ceb7fe$462af680$d280e380$%han@samsung.com> In-reply-to: <003601ceb7fe$462af680$d280e380$%han@samsung.com> Subject: [PATCH 10/10] [media] bt8xx: remove unnecessary pci_set_drvdata() Date: Mon, 23 Sep 2013 10:55:42 +0900 Message-id: <004001ceb800$02a5e3a0$07f1aae0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac63/kYUWuo+na92TD2gsbPKJKhaiAAAZEVg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsVy+t8zQ9158+2DDM7t07BY8nMXk8XlhZdY LXo2bGW1+L4zyuLiOnkHVo8pvzeyepxde5bdo2/LKkaPz5vkAliiuGxSUnMyy1KL9O0SuDJm fHvLWHCIteJ802T2BsaTLF2MnBwSAiYSG8+eh7LFJC7cW8/WxcjFISSwjFFi2rIpTDBFbb0X WSAS0xklbn/oh3J+MUpsv3iWDaSKTUBN4suXw+wgtoiAkcSO+XOYQIqYBeYwSpw4uQ9sh5CA rUTz7I9gDZwCdhK/924GKuLgEBbw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g0L10vOT93EyM48p9J72Bc1WBxiFGA g1GJhzcy0T5IiDWxrLgy9xCjBAezkghvUydQiDclsbIqtSg/vqg0J7X4EGMy0J8TmaVEk/OB SSmvJN7Q2MTMyNLIzMLIxNycNGElcd6DrdaBQgLpiSWp2ampBalFMFuYODilGhjTGC7VMHu+ Wb/nekVIPP9t1bMhM6MmdX131UypfLnx48msD5XF+5dtvJqlfKZP8PDD/5afOxXT1VdsNZDy asg/fkXKSKBq35Q7f3XqXt9c8ytm7ZUJHtMD3FiaLqvJc3lP+vw/f/3hB74Fe04sP8Po4csQ Eadx++Tvk1PP/52n0GD1bHdHLT+zEktxRqKhFnNRcSIAwo7qH0ADAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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; }
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/media/pci/bt8xx/bt878.c | 1 - 1 file changed, 1 deletion(-)