public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Jiri Pirko <jpirko@redhat.com>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	Pavel Roskin <proski@gnu.org>,
	linux-wireless@vger.kernel.org, linux-usb@vger.kernel.org,
	orinoco-devel@lists.sourceforge.net,
	kernel-janitors@vger.kernel.org
Subject: [patch] orinoco: remove an unused variable
Date: Thu, 24 Nov 2011 07:22:48 +0000	[thread overview]
Message-ID: <20111124072247.GE14122@elgon.mountain> (raw)

The "version" isn't used anymore now that this is a module_usb_driver().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
I wrote this patch against linux-next.

This is a fallout from d632eb1bf22 "USB: convert drivers/net/* to use
module_usb_driver()" so I'm not sure if this patch should go through
the USB tree or the wireless tree.

diff --git a/drivers/net/wireless/orinoco/orinoco_usb.c b/drivers/net/wireless/orinoco/orinoco_usb.c
index ae8ce56..f634d45 100644
--- a/drivers/net/wireless/orinoco/orinoco_usb.c
+++ b/drivers/net/wireless/orinoco/orinoco_usb.c
@@ -1754,11 +1754,6 @@ static struct usb_driver orinoco_driver = {
 	.id_table = ezusb_table,
 };
 
-/* Can't be declared "const" or the whole __initdata section will
- * become const */
-static char version[] __initdata = DRIVER_NAME " " DRIVER_VERSION
-	" (Manuel Estrada Sainz)";
-
 module_usb_driver(orinoco_driver);
 
 MODULE_AUTHOR("Manuel Estrada Sainz");

                 reply	other threads:[~2011-11-24  7:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111124072247.GE14122@elgon.mountain \
    --to=dan.carpenter@oracle.com \
    --cc=gregkh@suse.de \
    --cc=jpirko@redhat.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=orinoco-devel@lists.sourceforge.net \
    --cc=proski@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox