From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752636Ab3AVWTI (ORCPT ); Tue, 22 Jan 2013 17:19:08 -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 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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 --- include/acpi/acpi_bus.h | 2 -- 1 file changed, 2 deletions(-) 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; };