]> git.sur5r.net Git - u-boot/commit
env: Simplify the reverse_strstr() interface
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:18 +0000 (14:27 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:13:19 +0000 (09:13 -0400)
commit032ea185d644cfe420822dd3dc84734623ffac91
tree78f2ca0e01f9013b8f88cc0970a77ee496e86bb3
parent7a0ad2cce3e84fdfb1d0f5b14b9e293cb6e69d71
env: Simplify the reverse_strstr() interface

The logic to find the whole matching name was split needlessly between
the reverse_strstr function and its caller. Fully contain it to make the
interface for calling it more consistent.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/env_attr.c