diff options
author | Luck, Tony <tony.luck@intel.com> | 2013-04-04 21:37:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-04-09 17:29:02 (GMT) |
commit | 9f16778c5d0a32f264812a9bf1602b71613720b8 (patch) | |
tree | f1c4df120793e8f44e25f1b1246ffdd00dd692c8 /scripts/kconfig/qconf.cc | |
parent | 5993f3a2692eed3c74c86882155b8703a0060ad5 (diff) | |
download | linux-fsl-qoriq-9f16778c5d0a32f264812a9bf1602b71613720b8.tar.xz |
staging:iio:adt7316 Fix some 'interesting' string operations
Calling memcmp() to check the value of the first byte in a string is overkill.
Just use buf[0] == '1' or buf[0] != '1' as appropriate.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/kconfig/qconf.cc')
0 files changed, 0 insertions, 0 deletions