commit | 76fb52299319416517189dcffe668c250343d50f | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Nov 15 08:30:54 2017 +0200 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Wed Nov 15 16:04:39 2017 +0200 |
tree | b023fc91bf933e2306cdbde73bc589f3ad4f2001 | |
parent | 04fbb80adb661d88191e9554aae70b209cb955ef [diff] |
shell: Remove redundant checking for first parameter The way the command line parsing works, argv[0] is always guaranteed to be non-NULL as well as a non-empty string, so doing checks for this in get_cb() is redundant. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>