summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-23 23:02:47 +0100
committerMichael Adam <obnox@samba.org>2007-12-24 00:18:35 +0100
commit6306005f4c12275df2f0cd2c2a95493bea36824d (patch)
tree3ae2da93e6b582ea61ec83b300d116454d04d489 /source3/libnet
parent8f163d5c5ae48a3ff1974e936b9316781eceff8a (diff)
downloadsamba-6306005f4c12275df2f0cd2c2a95493bea36824d.tar.gz
samba-6306005f4c12275df2f0cd2c2a95493bea36824d.tar.bz2
samba-6306005f4c12275df2f0cd2c2a95493bea36824d.zip
Remove redundant check of return value.
Michael (This used to be commit 29f46c2d45e7ad7f8a9a525f9ac82c050a510967)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 121ec35468..9eb5c16adc 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -314,9 +314,8 @@ WERROR libnet_smbconf_delparm(TALLOC_CTX *mem_ctx,
}
werr = reg_deletevalue(key, param);
- W_ERROR_NOT_OK_RETURN(werr);
- return WERR_OK;
+ return werr;
}