From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: James Bottomley <jbottomley@parallels.com>,
Christoph Hellwig <hch@lst.de>,
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 [thread overview]
Message-ID: <1442497338-17019-2-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1442497338-17019-1-git-send-email-pbonzini@redhat.com>
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 <pbonzini@redhat.com>
---
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. */
--
2.5.0
next prev parent reply other threads:[~2015-09-17 13:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-17 13:42 [PATCH v2 0/4] scsi: cleanup ioctl headers and provide UAPI versions Paolo Bonzini
2015-09-17 13:42 ` Paolo Bonzini [this message]
2015-09-17 15:24 ` [PATCH v2 1/4] scsi: remove old-style type names from sg.h Bart Van Assche
2015-09-17 13:42 ` [PATCH v2 2/4] scsi: cleanup scsi/scsi_ioctl.h Paolo Bonzini
2015-09-17 15:27 ` Bart Van Assche
2015-09-17 13:42 ` [PATCH v2 3/4] scsi: move all obsolete ioctls to scsi/scsi_ioctl.h Paolo Bonzini
2015-09-17 15:26 ` Bart Van Assche
2015-09-17 13:47 ` [PATCH v2 4/4] scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h Paolo Bonzini
2015-09-17 15:32 ` Bart Van Assche
2015-09-25 8:44 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442497338-17019-2-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=hch@lst.de \
--cc=jbottomley@parallels.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®