diff options
-rw-r--r-- | usr/src/lib/brand/lx/librtld_db/common/lx_librtld_db.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/brand/lx/librtld_db/common/lx_librtld_db.c b/usr/src/lib/brand/lx/librtld_db/common/lx_librtld_db.c index 49be6a9a03..86163df25e 100644 --- a/usr/src/lib/brand/lx/librtld_db/common/lx_librtld_db.c +++ b/usr/src/lib/brand/lx/librtld_db/common/lx_librtld_db.c @@ -205,10 +205,8 @@ lx_ldb_get_dyns32(rd_helper_data_t rhd, * success and pass back the unmolested dynamic elements that * we've already obtained. */ - if(dynpp != NULL) - *dynpp = dynp; - if(dynpp_sz != NULL) - *dynpp_sz = dynp_sz; + *dynpp = dynp; + *dynpp_sz = dynp_sz; ndyns = dynp_sz / sizeof (Elf32_Dyn); /* If this isn't a dynamic object, there's nothing left todo */ |