diff options
author | Chuck Lever <[email protected]> | 2008-12-11 17:55:59 -0500 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2009-01-06 11:53:55 -0500 |
commit | 77a3ef33e2de6fc8aabd7cb1700bfef81757c28a (patch) | |
tree | bb403f4517d49c7756921a70ba27ddce3963a05d /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | b39b897c259fc1fd1998505f2b1d4ec1f115bce1 (diff) |
NSM: More clean up of nsm_get_handle()
Clean up: refactor nsm_get_handle() so it is organized the same way that
nsm_reboot_lookup() is.
There is an additional micro-optimization here. This change moves the
"hostname & nsm_use_hostnames" test out of the list_for_each_entry()
clause in nsm_get_handle(), since it is loop-invariant.
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions