From: Jens Axboe <axboe@kernel.dk>
To: linux-kernel@vger.kernel.org
Cc: viro@zeniv.linux.org.uk, brauner@kernel.org
Subject: [PATCHSET 0/2] Get rid of import_single_range()
Date: Mon, 4 Dec 2023 10:43:54 -0700 [thread overview]
Message-ID: <20231204174550.1252585-2-axboe@kernel.dk> (raw)
Hi,
While looking at this today, I noticed that the 'iov' argument to this
function is totally dead code. Patch 1 gets rid of it, and with this
function and import_ubuf() now being identical, converts the callers
to just use import_ubuf().
No functional changes here, just a cleanup removing some dead code.
drivers/block/ublk_drv.c | 9 ++-------
drivers/char/random.c | 6 ++----
fs/aio.c | 2 +-
include/linux/uio.h | 2 --
kernel/trace/trace_events_user.c | 4 +---
lib/iov_iter.c | 13 -------------
net/ipv4/tcp.c | 10 ++++------
net/socket.c | 6 ++----
security/keys/keyctl.c | 5 ++---
9 files changed, 14 insertions(+), 43 deletions(-)
--
Jens Axboe
--
Jens Axboe
next reply other threads:[~2023-12-04 17:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 17:43 Jens Axboe [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-04 17:47 [PATCHSET 0/2] Get rid of import_single_range() Jens Axboe
2023-12-05 10:57 ` Christian Brauner
2023-12-05 13:46 ` Jens Axboe
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=20231204174550.1252585-2-axboe@kernel.dk \
--to=axboe@kernel.dk \
--cc=brauner@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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