[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: remove pointless if subcondition
commit 49e547756ed89bef0cb59c311d273fae34074582 Author: Matthew Daley <mattjd@xxxxxxxxx> AuthorDate: Fri Nov 8 13:45:08 2013 +1300 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Mon Nov 11 16:13:40 2013 +0000 xen/arm: remove pointless if subcondition It's already handled just above. Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- xen/common/device_tree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/common/device_tree.c b/xen/common/device_tree.c index f7d0215..44253da 100644 --- a/xen/common/device_tree.c +++ b/xen/common/device_tree.c @@ -906,7 +906,7 @@ static int dt_translate_one(const struct dt_device_node *parent, dt_printk(XENLOG_ERR "DT: no ranges; cannot translate\n"); return 1; } - if ( ranges == NULL || rlen == 0 ) + if ( rlen == 0 ) { offset = dt_read_number(addr, na); memset(addr, 0, pna * 4); -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |