grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Move grub_usb_get_string out of usb.mod


From: Vladimir 'phcoder' Serbinenko
Subject: [PATCH] Move grub_usb_get_string out of usb.mod
Date: Fri, 28 Aug 2009 20:13:54 +0200

usb.mod may be size-critical (if booting from usb) but usbtest.mod
isn't. grub_usb_get_string is in usb.mod but used only in usbtest.mod.
Furthermore it's the only potentially size-critical function except
filesystems which uses grub_utf16_to_utf8. Making it non-size critical
would allow to inline it and save few bytes. Here is a patch to fix
situation

-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git

Attachment: usb.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]