s3:locking: remove dead code from brl_get_locks_readonly()
authorStefan Metzmacher <metze@samba.org>
Wed, 29 Oct 2014 16:29:06 +0000 (17:29 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 31 Oct 2014 05:07:43 +0000 (06:07 +0100)
commita3b333a1a2ab23ba0c59be1fc65c730e2b53e8c5
treee3f9703d5773a636c5f5d629fb8a372329acb3cc
parent151b9caeef7dc4fa4816035a406acb9f1c5812c3
s3:locking: remove dead code from brl_get_locks_readonly()

struct byte_range_lock *rw = NULL; will never change...

commit 105724073300af03eb0835b3c93d9b2e2bfacb07 removed the
possible assigment of 'rw'.

So we can remove all code under if (rw != NULL) { ...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 31 06:07:43 CET 2014 on sn-devel-104
source3/locking/brlock.c