Message ID | 20201113212704.2243807-1-bigeasy@linutronix.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 56c62080d5b57dac2c2cdd4a83571450e38ca763 |
Headers | show |
Series | usb: Remove RUN_CONTEXT | expand |
On Fri, Nov 13, 2020 at 10:27:04PM +0100, Sebastian Andrzej Siewior wrote: > The last user of RUN_CONTEXT was removed in commit > 97c17beb3b668 ("[PATCH] ehci-hcd (1/2): portability (2.4), tasklet,") I don't see that git commit id in Linus's tree, nor in my usb.git tree. Where does it live? thanks, greg k-h
On 2020-11-13 23:47:33 [+0100], Greg Kroah-Hartman wrote: > On Fri, Nov 13, 2020 at 10:27:04PM +0100, Sebastian Andrzej Siewior wrote: > > The last user of RUN_CONTEXT was removed in commit > > 97c17beb3b668 ("[PATCH] ehci-hcd (1/2): portability (2.4), tasklet,") > > I don't see that git commit id in Linus's tree, nor in my usb.git tree. > Where does it live? As a archaeologist I have the history trees linked in my tree. This is from: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=97c17beb3b668c79ef5d056b3f687aa0be2d672f > thanks, > > greg k-h Sebastian
On Sat, Nov 14, 2020 at 11:08:56AM +0100, Sebastian Andrzej Siewior wrote: > On 2020-11-13 23:47:33 [+0100], Greg Kroah-Hartman wrote: > > On Fri, Nov 13, 2020 at 10:27:04PM +0100, Sebastian Andrzej Siewior wrote: > > > The last user of RUN_CONTEXT was removed in commit > > > 97c17beb3b668 ("[PATCH] ehci-hcd (1/2): portability (2.4), tasklet,") > > > > I don't see that git commit id in Linus's tree, nor in my usb.git tree. > > Where does it live? > > As a archaeologist I have the history trees linked in my tree. This is > from: > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=97c17beb3b668c79ef5d056b3f687aa0be2d672f Oh wow, didn't think to look back past 15 years :) I'll go queue this up, thanks. greg k-h
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index 3dbb42c637c14..96281cd50ff66 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h @@ -734,10 +734,6 @@ static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, /* random stuff */ -#define RUN_CONTEXT (in_irq() ? "in_irq" \ - : (in_interrupt() ? "in_interrupt" : "can sleep")) - - /* This rwsem is for use only by the hub driver and ehci-hcd. * Nobody else should touch it. */
The last user of RUN_CONTEXT was removed in commit 97c17beb3b668 ("[PATCH] ehci-hcd (1/2): portability (2.4), tasklet,") There are no users of RUN_CONTEXT, remove it. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> --- include/linux/usb/hcd.h | 4 ---- 1 file changed, 4 deletions(-)