From patchwork Tue Jan 22 22:25:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael Wysocki X-Patchwork-Id: 2021081 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 02FFCDF2EB for ; Tue, 22 Jan 2013 22:19:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373Ab3AVWTH (ORCPT ); Tue, 22 Jan 2013 17:19:07 -0500 Received: from hydra.sisk.pl ([212.160.235.94]:50703 "EHLO hydra.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752226Ab3AVWTG (ORCPT ); Tue, 22 Jan 2013 17:19:06 -0500 Received: from vostro.rjw.lan (afcl124.neoplus.adsl.tpnet.pl [95.49.63.124]) by hydra.sisk.pl (Postfix) with ESMTPSA id 118C7E56BB; Tue, 22 Jan 2013 23:19:28 +0100 (CET) From: "Rafael J. Wysocki" To: Yinghai Lu , ACPI Devel Maling List Cc: LKML , Len Brown , Matthew Garrett , Bjorn Helgaas , Toshi Kani Subject: [PATCH] ACPI: Drop device start operation that is not used Date: Tue, 22 Jan 2013 23:25:05 +0100 Message-ID: <1726547.g8rCOVpa6k@vostro.rjw.lan> User-Agent: KMail/4.9.5 (Linux/3.8.0-rc4; KDE/4.9.5; x86_64; ; ) In-Reply-To: <4046863.eHD8RPonGC@vostro.rjw.lan> References: <1518653.CUpDmbmCI3@vostro.rjw.lan> <4046863.eHD8RPonGC@vostro.rjw.lan> MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Rafael J. Wysocki The ACPI device start operation, acpi_op_start, is never used, so drop it. Signed-off-by: Rafael J. Wysocki Acked-by: Toshi Kani Acked-by: Yinghai Lu --- include/acpi/acpi_bus.h | 2 -- 1 file changed, 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-pm/include/acpi/acpi_bus.h =================================================================== --- linux-pm.orig/include/acpi/acpi_bus.h +++ linux-pm/include/acpi/acpi_bus.h @@ -90,13 +90,11 @@ struct acpi_device; typedef int (*acpi_op_add) (struct acpi_device * device); typedef int (*acpi_op_remove) (struct acpi_device * device); -typedef int (*acpi_op_start) (struct acpi_device * device); typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event); struct acpi_device_ops { acpi_op_add add; acpi_op_remove remove; - acpi_op_start start; acpi_op_notify notify; };