From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757346Ab1DZQaG (ORCPT ); Tue, 26 Apr 2011 12:30:06 -0400 Received: from p3plsmtps2ded01.prod.phx3.secureserver.net ([208.109.80.58]:36962 "HELO p3plsmtps2ded01-01.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754467Ab1DZQaD (ORCPT ); Tue, 26 Apr 2011 12:30:03 -0400 From: "K. Y. Srinivasan" To: gregkh@suse.de, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, virtualization@lists.osdl.org Cc: "K. Y. Srinivasan" , Haiyang Zhang , Abhishek Kane , Hank Janssen Subject: [PATCH 10/25] Staging: hv: Get rid of the priv pointer in struct hv_driver Date: Tue, 26 Apr 2011 09:20:27 -0700 Message-Id: <1303834842-5022-10-git-send-email-kys@microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1303834842-5022-1-git-send-email-kys@microsoft.com> References: <1303834785-4981-1-git-send-email-kys@microsoft.com> <1303834842-5022-1-git-send-email-kys@microsoft.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that we have gotten rid of all uses of the priv element in struct hv_driver, get rid of the priv pointer. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/vmbus_api.h | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index f0d96eb..51fa952 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -94,16 +94,6 @@ struct hv_driver { /* the device type supported by this driver */ struct hv_guid dev_type; - /* - * Device type specific drivers (net, blk etc.) - * need a mechanism to get a pointer to - * device type specific driver structure given - * a pointer to the base hyperv driver structure. - * The current code solves this problem using - * a hack. Support this need explicitly - */ - void *priv; - struct device_driver driver; int (*dev_add)(struct hv_device *device, void *data); -- 1.7.4.1