From patchwork Fri Jun 22 11:35:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 139605 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp762251lji; Fri, 22 Jun 2018 04:37:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJZtCmkMUjOwLxNJUYwoHEDDHq6/DeOIBvXPGsRrv53oQ5S9wUQBmFrFiC4CtIdbj/tYQfE X-Received: by 2002:a65:4a42:: with SMTP id a2-v6mr1081874pgu.367.1529667430252; Fri, 22 Jun 2018 04:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529667430; cv=none; d=google.com; s=arc-20160816; b=OE37Y8u2up9ZfxvHhsLOwDGlObmtv6SRiNKZOLc69CmRO/6aGL/uVOlQCdVXSLxJlK 11MRig3yZwsImgWCJwcC2YCRed9v23jo8Sx7X9Rc4B2xjPhx/XQ1/dbsXqD8cHJyJ/pm txMe3wO8gVu2XUaHTFd0TFlfjWXVQ2uXwDcwvyCJB9p4xufoUjs6chu2AyASF7poWfbX bxt7Y9eO/qEvwYooYufvazUYqUd6U0uBQSYkeIzC3V+BLanJmc57T4IJAe0XVPXiScIZ rID0DMQS6iZgW1D3ZwQvARwf5zC0bIxa81gLaSDUIK2haIUuQYwll0zKqvOuG4OhfLbW 5XcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=r5CBvSYQpAmGBb3UdcZIKp8C5WEk9rEAsGZvjQI6qlk=; b=wzb5YwInlJ0oyHmJuXEcjXOZKcCmbsG/bXKTyKlCTCx+uKvFGyHqNqB5dfXpfX4eDy wDpb6YYNZfQijbbEGoxQxQjgIa29MF6r9WoEGOOf3Xru5uAb8ouSu89gmlNMIoe7/+SZ hGSnN3ypnS/JbWIhJm/a8sLGzFQ/mlCHmqK9V120R4jUyOF4tuLAv6yRgGLTeiSwNqjj 2Kutw925BhNYSTQIqhAZZBx2lng2y5iJF+CD02Qxum0THKYt+erANu4FCWIvgZz4/vvB oJLTvjj4+OEeRt1+ht3lGVl5PCmuldXw4JD6dXrti9xgalwCInUDjcqmYLi0zUSEddzq SVFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 38-v6si7664991plc.446.2018.06.22.04.37.09; Fri, 22 Jun 2018 04:37:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751338AbeFVLhI (ORCPT + 30 others); Fri, 22 Jun 2018 07:37:08 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:33189 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751198AbeFVLhH (ORCPT ); Fri, 22 Jun 2018 07:37:07 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id BD7EFC633154A; Fri, 22 Jun 2018 19:37:02 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.382.0; Fri, 22 Jun 2018 19:36:56 +0800 From: John Garry To: , , , , , CC: , , John Garry Subject: [PATCH] irqdesc: Delete irq_desc_get_msi_desc() Date: Fri, 22 Jun 2018 19:35:33 +0800 Message-ID: <1529667333-92959-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Function irq_desc_get_msi_desc() is not referenced in the kernel (and does not seem to have been referenced since e39758e0ea76, 3 years ago), so delete it. Signed-off-by: John Garry -- 1.9.1 diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index 25b33b6..dd1e40d 100644 --- a/include/linux/irqdesc.h +++ b/include/linux/irqdesc.h @@ -145,11 +145,6 @@ static inline void *irq_desc_get_handler_data(struct irq_desc *desc) return desc->irq_common_data.handler_data; } -static inline struct msi_desc *irq_desc_get_msi_desc(struct irq_desc *desc) -{ - return desc->irq_common_data.msi_desc; -} - /* * Architectures call this to let the generic IRQ layer * handle an interrupt.