From: Denys Vlasenko Date: Tue, 30 Mar 2010 14:20:34 +0000 (+0200) Subject: dpkg: remove redundant check X-Git-Tag: 1_17_0~341 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84f6def072778e30bbaa7c98256e7e421a3c5bc4;p=oweals%2Fbusybox.git dpkg: remove redundant check function old new delta dpkg_main 4008 3991 -17 Signed-off-by: Denys Vlasenko --- diff --git a/archival/dpkg.c b/archival/dpkg.c index 7caccef7c..219512b9a 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1739,7 +1739,6 @@ int dpkg_main(int argc UNUSED_PARAM, char **argv) //if (opt & OPT_unpack) ... // -u (--unpack in official dpkg) if (!(opt & OPTMASK_cmd) /* no cmd */ || ((opt & OPTMASK_cmd) & ((opt & OPTMASK_cmd)-1)) /* more than one cmd */ - || (!(opt & OPT_list_installed) && !argv[0]) /* - all except -l require argument */ ) { bb_show_usage(); }