All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Nicholas Krause <xerofoify@gmail.com>
Cc: mathias.nyman@intel.com, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] xhci:Remove unused marco definitions from the file xhci-hub.c
Date: Mon, 7 Mar 2016 12:12:42 -0800	[thread overview]
Message-ID: <20160307201242.GB25852@kroah.com> (raw)
In-Reply-To: <1457378403-22040-1-git-send-email-xerofoify@gmail.com>

On Mon, Mar 07, 2016 at 02:20:03PM -0500, Nicholas Krause wrote:
> This removes the unneeded marco definitions for the marcos
> of XHCI_PORT_RW1S, XHCI_PORT_RW1C, XHCI_PORT_RW	 and
> XHCI_PORT_RZ due to no uses of these marcos in the file
> xhci-hub.c or any other related kernel source code file
> related to supporting xhci host controllers.
> 
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
>  drivers/usb/host/xhci-hub.c | 23 -----------------------
>  1 file changed, 23 deletions(-)
> 
> diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
> index e75c565..fd430de 100644
> --- a/drivers/usb/host/xhci-hub.c
> +++ b/drivers/usb/host/xhci-hub.c
> @@ -196,29 +196,6 @@ static unsigned int xhci_port_speed(unsigned int port_status)
>   * link state, port power, port indicator state, "wake on" enable state
>   */
>  #define XHCI_PORT_RWS	((0xf<<5) | (1<<9) | (0x3<<14) | (0x7<<25))
> -/*
> - * These bits are RW; writing a 1 sets the bit, writing a 0 has no effect:
> - * bit 4 (port reset)
> - */
> -#define	XHCI_PORT_RW1S	((1<<4))
> -/*
> - * These bits are RW; writing a 1 clears the bit, writing a 0 has no effect:
> - * bits 1, 17, 18, 19, 20, 21, 22, 23
> - * port enable/disable, and
> - * change bits: connect, PED, warm port reset changed (reserved zero for USB 2.0 ports),
> - * over-current, reset, link state, and L1 change
> - */
> -#define XHCI_PORT_RW1CS	((1<<1) | (0x7f<<17))
> -/*
> - * Bit 16 is RW, and writing a '1' to it causes the link state control to be
> - * latched in
> - */
> -#define	XHCI_PORT_RW	((1<<16))
> -/*
> - * These bits are Reserved Zero (RsvdZ) and zero should be written to them:
> - * bits 2, 24, 28:31
> - */
> -#define	XHCI_PORT_RZ	((1<<2) | (1<<24) | (0xf<<28))
>  
>  /*
>   * Given a port state, this function returns a value that would result in the

As I have stated numerous times in the past, please do not send any
future Linux kernel changes, I will not be accepting them.

Mathias, please ignore.

greg k-h

       reply	other threads:[~2016-03-07 20:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1457378403-22040-1-git-send-email-xerofoify@gmail.com>
2016-03-07 20:12 ` Greg KH [this message]
     [not found] <1470672038-15235-1-git-send-email-xerofoify@gmail.com>
2016-08-08 16:06 ` [PATCH RESEND] xhci:Remove unused marco definitions from the file xhci-hub.c Greg KH
     [not found] <1451413696-21599-1-git-send-email-xerofoify@gmail.com>
2015-12-29 19:47 ` Greg KH

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=20160307201242.GB25852@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=xerofoify@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.