From patchwork Fri Nov 13 21:27:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 11904601 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 041A514C0 for ; Fri, 13 Nov 2020 21:28:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB20222259 for ; Fri, 13 Nov 2020 21:28:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="RLTez745"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="2U6qppHW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726455AbgKMV2F (ORCPT ); Fri, 13 Nov 2020 16:28:05 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:55278 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726583AbgKMV2D (ORCPT ); Fri, 13 Nov 2020 16:28:03 -0500 From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605302878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=P4RP441BOauOir2Oa3cFxCUL2HeYPqIvw79teAEl2IE=; b=RLTez745BUb554hoMEOpms0BwRb5TUG79OAOKkkHkIfpU4h1CeEm0vRxsJM6frqAfIckFz xnYxoWLjxls2z3H86g4p85tS5wxwCmWXKpxsiIVlBR/Hc80zXkzj8spCBwHrL4ozcrxlxS TkHjcUReWYN8LJyOTm1KsFyoQz+PMiYQ8KbdrAJZuPNjO05bu7HeeIR+bz1sF7ncRmgfLN EWlHw8YkfkVN6/DRbDmRJYD4QIUg6RENF+iyxQfABDyUDYdM9zDoU0circFQe+R33B2/fB qeIveBlFj+X7Xp2EW6eVcC7fkjAzAm9OM4EmR+bHcJi5Y49bQnNLVkh0SV5vBw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605302878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=P4RP441BOauOir2Oa3cFxCUL2HeYPqIvw79teAEl2IE=; b=2U6qppHWrxw/IGFK2bbnL4ZBhTyFfsTtigoKs0FMOLSzrBGWiJ/Am6bBradTbTJ6SDo67v wX94LOgDmYJ4DPCw== To: linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman , Thomas Gleixner , Sebastian Andrzej Siewior Subject: [PATCH] usb: Remove RUN_CONTEXT Date: Fri, 13 Nov 2020 22:27:04 +0100 Message-Id: <20201113212704.2243807-1-bigeasy@linutronix.de> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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 --- include/linux/usb/hcd.h | 4 ---- 1 file changed, 4 deletions(-) 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. */