[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200129172811.GI12616@infradead.org>
Date: Wed, 29 Jan 2020 09:28:11 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Cc: Jens Axboe <axboe@...nel.dk>,
Michael Schmitz <schmitzmic@...il.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 13/28] ata: move ata_do_link_spd_horkage() to
libata-core-sata.c
On Tue, Jan 28, 2020 at 02:33:28PM +0100, Bartlomiej Zolnierkiewicz wrote:
> * move ata_do_link_spd_horkage() to libata-core-sata.c
>
> * add static inline for CONFIG_SATA_HOST=n case
Wouldn't it make more sense to stub out sata_scr_valid for the !SATA
case and just let the compiler optimize the function away now that it
can't be called in that case?
Powered by blists - more mailing lists