cyclades: Deinline serial_paranoia_check, save 304 bytes
This function compiles to 52 bytes of machine code. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> CC: Jiri Slaby <jslaby@suse.com> CC: linux-serial@vger.kernel.org Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
f25d596fc2
Коммит
8c6ba003ee
|
@ -329,7 +329,7 @@ static inline bool cyz_is_loaded(struct cyclades_card *card)
|
|||
readl(&fw_id->signature) == ZFIRM_ID;
|
||||
}
|
||||
|
||||
static inline int serial_paranoia_check(struct cyclades_port *info,
|
||||
static int serial_paranoia_check(struct cyclades_port *info,
|
||||
const char *name, const char *routine)
|
||||
{
|
||||
#ifdef SERIAL_PARANOIA_CHECK
|
||||
|
|
Загрузка…
Ссылка в новой задаче