Message ID | 002001cee98d$1b4b66f0$51e234d0$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fbdev-owner@kernel.org> X-Original-To: patchwork-linux-fbdev@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 6C0B89F3A0 for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 03:19:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96AD520255 for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 03:19:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E6B420254 for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 03:19:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753405Ab3KYDTM (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Sun, 24 Nov 2013 22:19:12 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:10233 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753251Ab3KYDTL (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Sun, 24 Nov 2013 22:19:11 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWS00F5IUJYJY70@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 25 Nov 2013 12:19:10 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 95.62.18608.EA1C2925; Mon, 25 Nov 2013 12:19:10 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-b3-5292c1ae6775 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 1B.EB.02580.EA1C2925; Mon, 25 Nov 2013 12:19:10 +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 <0MWS009CWUJXBM10@mmp2.samsung.com>; Mon, 25 Nov 2013 12:19:09 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Jean-Christophe PLAGNIOL-VILLARD' <plagnioj@jcrosoft.com> Cc: 'Tomi Valkeinen' <tomi.valkeinen@ti.com>, linux-fbdev@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>, 'Antonino Daplas' <adaplas@gmail.com> References: <001f01cee985$0b235470$2169fd50$%han@samsung.com> In-reply-to: <001f01cee985$0b235470$2169fd50$%han@samsung.com> Subject: [PATCH 2/4] video: nvidiafb: remove unnecessary pci_set_drvdata() Date: Mon, 25 Nov 2013 12:19:09 +0900 Message-id: <002001cee98d$1b4b66f0$51e234d0$%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: Ac7phQsIbETGq0sjRtCfpBr3kpLozAAAAmlw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zY911BycFGTy/x2Pxs/sLm8XlhZdY LU70fWC1WPfwBZPF+vm32BxYPXbOusvu8erCHRaPvi2rGD2O39jO5PF5k1wAaxSXTUpqTmZZ apG+XQJXxo8fa5kKjrNWzP5xk7WB8QJLFyMHh4SAicSTNy5djJxAppjEhXvr2boYuTiEBJYx Snx7fpQdImEi0XT/OjtEYjqjxOSze1ggnF+MEr8mdLKAVLEJqEl8+XIYrENEwE5i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MYhWYhmTQLyaRZSCbNQtKygJFlFaNoakFyQXFSeq6hXnFibnFpXrpecn7uJkZwGngmtYNx ZYPFIUYBDkYlHl6LyklBQqyJZcWVuYcYJTiYlUR499QBhXhTEiurUovy44tKc1KLDzEmAz06 kVlKNDkfmKLySuINjU3MjCyNzCyMTMzNSRNWEuc90GodKCSQnliSmp2aWpBaBLOFiYNTqoGx SXN13Mz3J2e7/7k+PWDvtdqPP8RmljDEXN+gqfPF/GVt9P+UXfJZq3esY/E/qzFfd9qs1049 S5uECzYVL2wuPDBtWuz313Z37y1+XXGyPNRqs4Tp9wyp/UnXPC4+E55kYFHYnzaVc8IfrmK9 5rR7n7fal2RkLFl/KrV22mz9Fbwlc8+y3+b8osRSnJFoqMVcVJwIAEQ0xjRHAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fbdev.vger.kernel.org> X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 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/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index ff22871..def0412 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c @@ -1461,7 +1461,6 @@ static void nvidiafb_remove(struct pci_dev *pd) pci_release_regions(pd); kfree(info->pixmap.addr); framebuffer_release(info); - pci_set_drvdata(pd, NULL); NVTRACE_LEAVE(); }
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/video/nvidia/nvidia.c | 1 - 1 file changed, 1 deletion(-)