From patchwork Tue Apr 6 11:48:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 415889 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4490479jai; Tue, 6 Apr 2021 04:52:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxskHkNO2DvKYWEfKE226BYb5zE4H0bzHahrUAPF6VFFrdS6K9RLA2SMzpEHINMGJV9cFUA X-Received: by 2002:a17:906:71d3:: with SMTP id i19mr34152227ejk.347.1617709967356; Tue, 06 Apr 2021 04:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617709967; cv=none; d=google.com; s=arc-20160816; b=GE72IMK4EKiVOVjuhdACzUB1D4dAimmgDo+3NWohypvmw1v7fiOJ1KEV6x0F50ZuO1 5KAp3MvDPYweQ/dFzrP+Bl1pDIGzR9DmClRL5vw2nD5wv565RtYB47Lf1OJAAJYqGYjv c4jcs88PSeWHkG+aS+16r6Wt2p8u+cHLP34OwH0b7FEdWD+g3bnEjJB9bxCOVzhj5Ld0 uyn9BtahV7qeGtkxlJiYzAeBxL84jICbFDIDulGleEPkjaIWHsPvrfQG3xzHTSTKemPx zOF6/8wbmo+K92XTZEIcc/evqtDJrpcQ6nM342L8g/HSyoH66qAOWSGikgYCE61SfYiI 3RYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2qdqdfClLaV0jOzcVAC7PqFKhcgMK/UTtmSS6ChigSY=; b=qweF5A9GdxyWsq4LjS5JitXbY/uPMFsU8Mvq+mN2IZpwB/MOaZNPrkZ5iJ2QOqcBQE mIIdeZ9hsufjPROe3g9YzCTWL+3/UUiMqvhFNlKWCe8QX0/66XHJPwlS0WmsOR8uaTJ9 D3rJZmmr6mwwRdx/d2xgyNigSPj+Qf6F6XXJeIHDgrQFMNee8ViGOqyA0ioBk5EWCp3p 7jUYOA6++36wKHTcYXEO+g6xN0VJAwqq7bIb+NBGctcMHOkkxoPpFrpS1csC09svRk5C IwZUMNtz/JBFQnCJ+8vZQQbbVqL7fSeNK3T8ajtqCRfneN0G15TWn6k+0QtraS7yadZa 1ZCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si17443705edw.487.2021.04.06.04.52.47 for ; Tue, 06 Apr 2021 04:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343501AbhDFLwx (ORCPT ); Tue, 6 Apr 2021 07:52:53 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15136 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233451AbhDFLww (ORCPT ); Tue, 6 Apr 2021 07:52:52 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FF5Rp26tmzpVLQ; Tue, 6 Apr 2021 19:49:58 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 19:52:37 +0800 From: John Garry To: , CC: , , , Luo Jiaxing , John Garry Subject: [PATCH 1/6] scsi: hisi_sas: Delete some unused callbacks Date: Tue, 6 Apr 2021 19:48:26 +0800 Message-ID: <1617709711-195853-2-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1617709711-195853-1-git-send-email-john.garry@huawei.com> References: <1617709711-195853-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Luo Jiaxing The debugfs code has been relocated to v3 hw driver, so delete unused struct hisi_sas_hw function pointers snapshot_{prepare, restore}. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 2 -- 1 file changed, 2 deletions(-) -- 2.26.2 diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index 2401a9575215..4dd53bc2d946 100644 --- a/drivers/scsi/hisi_sas/hisi_sas.h +++ b/drivers/scsi/hisi_sas/hisi_sas.h @@ -346,8 +346,6 @@ struct hisi_sas_hw { u8 reg_index, u8 reg_count, u8 *write_data); void (*wait_cmds_complete_timeout)(struct hisi_hba *hisi_hba, int delay_ms, int timeout_ms); - void (*snapshot_prepare)(struct hisi_hba *hisi_hba); - void (*snapshot_restore)(struct hisi_hba *hisi_hba); int complete_hdr_size; struct scsi_host_template *sht; };