public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] drivers/block/ll_rw_blk.c: possible cleanups
Date: Tue, 12 Apr 2005 14:06:55 +0200	[thread overview]
Message-ID: <20050412120654.GL4722@suse.de> (raw)
In-Reply-To: <20050412115002.GA3631@stusta.de>

On Tue, Apr 12 2005, Adrian Bunk wrote:
> On Tue, Apr 12, 2005 at 07:49:57AM +0200, Jens Axboe wrote:
> > On Tue, Apr 12 2005, Adrian Bunk wrote:
> > > On Mon, Apr 11, 2005 at 08:12:34AM +0200, Jens Axboe wrote:
> > > > On Sun, Apr 10 2005, Adrian Bunk wrote:
> > > > > This patch contains the following possible cleanups:
> > > > > - make needlessly global code static
> > > > > - remove the following unused global functions:
> > > > >   - blkdev_scsi_issue_flush_fn
> > > > 
> > > > Kill the function completely, it is not used anymore.
> > > > 
> > > > >   - __blk_attempt_remerge
> > > > 
> > > > Normally I would say leave that since it's part of the API, but lets
> > > > just kill it. I don't envision any further users of the remerging
> > > > attempts.
> > > > 
> > > > > - remove the following unused EXPORT_SYMBOL's:
> > > > >   - blk_phys_contig_segment
> > > > >   - blk_hw_contig_segment
> > > > >   - blkdev_scsi_issue_flush_fn
> > > > >   - __blk_attempt_remerge
> > > > > 
> > > > > Please review which of these changes make sense.
> > > > 
> > > > Looks fine to me, thanks. Can you send a new patch that kills
> > > > blkdev_scsi_issue_flush_fn()?
> > > 
> > > I have a problem parsing your email.
> > > 
> > > Which parts of my patch are OK and which shouldn't be applied?
> > > Or why do you want a separate blkdev_scsi_issue_flush_fn patch?
> > 
> > I have no problems with your patch, I would just like a revised patch
> > that removes blkdev_scsi_issue_flush_fn completely instead since it is
> > totally unused. It doesn't make sense to remove the export and make it
> > static, since it isn't used internally (and never meant to, it's a
> > helper function for drivers).
> 
> My patch does already completely remove blkdev_scsi_issue_flush_fn.
> 
> When I say "remove the following unused global functions:", this means 
> the patch completely removes the function.

Ah, I misread that, missed it in the patch as well apparently. Then I'm
fine with the patch.

-- 
Jens Axboe


      reply	other threads:[~2005-04-12 12:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-10 18:13 [2.6 patch] drivers/block/ll_rw_blk.c: possible cleanups Adrian Bunk
2005-04-11  6:12 ` Jens Axboe
2005-04-12  2:04   ` Adrian Bunk
2005-04-12  5:49     ` Jens Axboe
2005-04-12 11:50       ` Adrian Bunk
2005-04-12 12:06         ` Jens Axboe [this message]

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=20050412120654.GL4722@suse.de \
    --to=axboe@suse.de \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@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