slirp: tftp: Cleanup tftp_prefix check
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:29 +0000 (14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:47 +0000 (08:52 -0500)
commitf8e3cbd3b5d1c76ec295cfc8858fd696188c270d
treea26d157b96cdd693daeb5ebf034b846fa8035eb6
parentee9be587351dc1d53c8b0a07854a36ad5f6b6383
slirp: tftp: Cleanup tftp_prefix check

Perform check for set prefix early (if it's not given, tftp is disabled)
and drop redundant second check.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
slirp/tftp.c