From patchwork Thu Sep 17 13:42:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 7207541 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 820BA9F39B for ; Thu, 17 Sep 2015 13:43:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9DB1620804 for ; Thu, 17 Sep 2015 13:43:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7709207CB for ; Thu, 17 Sep 2015 13:43:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751976AbbIQNnQ (ORCPT ); Thu, 17 Sep 2015 09:43:16 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:36083 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbbIQNmb (ORCPT ); Thu, 17 Sep 2015 09:42:31 -0400 Received: by wicgb1 with SMTP id gb1so118595792wic.1; Thu, 17 Sep 2015 06:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=3g2qacau+eHLGeLubhUj52PkcrC+seZElGCUTnI08fc=; b=ryzPDgCR1zgfmYJJedZMg9reiWkQKR1M0r6u2tmMDENAWuwhOORcECwojipnlLOx8v 1kP3Ss+n0g71TlFDp+ovOd+Bt+FmEGk3uVymhlsQxdzW0CcuJeFwPNL/ZTrQ1zbt9GJH rXMxQ0kqrLf6Rx56D9UWppR95rlAeBNVZYnN9Nh2Z+M5lDS4duO6MSU+Be0Bqg+19v4/ ukgT1aCyAg2+DHPNhp/BGhdAhqLCn+f9Z8OTBuFE2znAq8aV7VSTvm9QklO06vj3XYaL gIHqe5pl8SHpHMUPrBIc+8GgjDg0TRcl/H05bnkqCsbSlX5FdkGy4qNRDhSf+UEOfn2k i7Vw== X-Received: by 10.180.79.5 with SMTP id f5mr29085227wix.79.1442497349562; Thu, 17 Sep 2015 06:42:29 -0700 (PDT) Received: from donizetti.lan. ([94.39.147.195]) by smtp.gmail.com with ESMTPSA id x7sm10209138wia.10.2015.09.17.06.42.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Sep 2015 06:42:28 -0700 (PDT) From: Paolo Bonzini To: linux-kernel@vger.kernel.org Cc: James Bottomley , Christoph Hellwig , linux-scsi@vger.kernel.org Subject: [PATCH v2 1/4] scsi: remove old-style type names from sg.h Date: Thu, 17 Sep 2015 15:42:15 +0200 Message-Id: <1442497338-17019-2-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1442497338-17019-1-git-send-email-pbonzini@redhat.com> References: <1442497338-17019-1-git-send-email-pbonzini@redhat.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These will not be exported by the new linux/sg.h header, and scsi/sg.h will not have any user API after linux/sg.h is created. Since they have no user in the kernel, they can be zapped. Signed-off-by: Paolo Bonzini Reviewed-by: Bart Van Assche --- include/scsi/sg.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/scsi/sg.h b/include/scsi/sg.h index 3afec7032448..370c78c37926 100644 --- a/include/scsi/sg.h +++ b/include/scsi/sg.h @@ -207,12 +207,6 @@ typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */ #define SG_BIG_BUFF SG_DEF_RESERVED_SIZE /* for backward compatibility */ -/* Alternate style type names, "..._t" variants preferred */ -typedef struct sg_io_hdr Sg_io_hdr; -typedef struct sg_io_vec Sg_io_vec; -typedef struct sg_scsi_id Sg_scsi_id; -typedef struct sg_req_info Sg_req_info; - /* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv */ /* The older SG interface based on the 'sg_header' structure follows. */