commit | d43f53c6cc926b18316a7e835348363e4a10b61e | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Wed Apr 17 13:58:36 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 19 15:01:33 2019 +0200 |
tree | 4c1e4b133ab0b5f566bd9d4a84ab508bf6481ea4 | |
parent | fc1e669ad15aff8d1cd14aa661279f2119471d0b [diff] |
staging: mt7621-pci-phy: remove some unnecessary local variables Device tree is not using child nodes anymore so the 'child_np' variable can safely removed. This also simplifies the error path to be able to directly return errors removing also the 'ret' variable. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>