ash: remove superfluous code in arithmetic mode
authorRon Yorston <rmy@pobox.com>
Mon, 18 May 2015 07:54:43 +0000 (09:54 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 18 May 2015 07:54:43 +0000 (09:54 +0200)
commit7e4ed267b645090fb576e1c876a88a9c73faabe9
tree1afac46bd8d47a8262ca0f3bbd690383fcf77a3e
parent3df47f9cbbb7f16608cbc642026625cdf7f06aa9
ash: remove superfluous code in arithmetic mode

Based on commits 1a74845cfc3d6a and ff13779 from
git://git.kernel.org/pub/scm/utils/dash/dash.git by Herbert Xu

function                                             old     new   delta
evalcommand                                         1197    1204      +7
localcmd                                             327     325      -2
readtoken1                                          3200    3180     -20
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 7/-22)             Total: -15 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c