[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110823225603.GI9641@kroah.com>
Date: Tue, 23 Aug 2011 15:56:03 -0700
From: Greg KH <greg@...ah.com>
To: "K. Y. Srinivasan" <kys@...rosoft.com>
Cc: gregkh@...e.de, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org, virtualization@...ts.osdl.org,
Haiyang Zhang <haiyangz@...rosoft.com>
Subject: Re: [PATCH 031/117] Staging: hv: netvsc: Get rid of the driver name
initialization in netvsc.c
On Fri, Jul 15, 2011 at 10:46:19AM -0700, K. Y. Srinivasan wrote:
> Now, get rid of the driver name initialization in int netvsc_initialize().
>
> Signed-off-by: K. Y. Srinivasan <kys@...rosoft.com>
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
> ---
> drivers/staging/hv/netvsc.c | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c
> index 6f4541b..d085018 100644
> --- a/drivers/staging/hv/netvsc.c
> +++ b/drivers/staging/hv/netvsc.c
> @@ -32,9 +32,6 @@
> #include "hyperv_net.h"
>
>
> -/* Globals */
> -static const char *driver_name = "netvsc";
> -
> static struct netvsc_device *alloc_net_device(struct hv_device *device)
> {
> struct netvsc_device *net_device;
> @@ -999,7 +996,5 @@ cleanup:
> int netvsc_initialize(struct hv_driver *drv)
> {
>
> - drv->name = driver_name;
> -
Please merge this with the previous patch.
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists