]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[image] Remove redundant call to basename()
authorMichael Brown <mcb30@ipxe.org>
Sun, 27 Mar 2011 18:36:00 +0000 (19:36 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 27 Mar 2011 18:37:42 +0000 (19:37 +0100)
commit3c1bdfd5d905eb5e916d588d59494d53ea968eb0
treeb16b938b4450fa2221da70d2e1a2d2ace7f8a7db
parentac8fc2a8e4bd41531ff89a198e09d056ed87009c
[image] Remove redundant call to basename()

There is no need to explicitly call basename() to construct an image
name in imgfetch_core_exec(), since image_set_uri() will do so
automatically anyway (and will do so without getting confused by URIs
with query strings).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/hci/commands/image_cmd.c