[PATCH 11/25] Staging: hv: Get rid of the drv field in struct hv_device
Greg KH
greg at kroah.com
Tue Apr 26 22:56:37 UTC 2011
On Tue, Apr 26, 2011 at 09:20:28AM -0700, K. Y. Srinivasan wrote:
> Now, we can rid of the drv field in struct hv_device.
>
> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
> Signed-off-by: Abhishek Kane <v-abkane at microsoft.com>
> Signed-off-by: Hank Janssen <hjanssen at microsoft.com>
> ---
> drivers/staging/hv/vmbus_api.h | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h
> index 51fa952..02e3587 100644
> --- a/drivers/staging/hv/vmbus_api.h
> +++ b/drivers/staging/hv/vmbus_api.h
> @@ -103,9 +103,6 @@ struct hv_driver {
>
> /* Base device object */
> struct hv_device {
> - /* the driver for this device */
> - struct hv_driver *drv;
> -
> char name[64];
FYI, in the future, you can also remove this name[64] field as well as I
don't think it's ever used...
thanks,
greg k-h
More information about the devel
mailing list