From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH 08/11] Remove ASSERT_{READ,WRITE}_LOCK Date: Fri, 03 Nov 2006 13:25:22 +0100 Message-ID: <454B3532.9090701@trash.net> References: <20061101210845.337590368@wlug.westbo.se> <20061101210914.306515682@wlug.westbo.se> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: netfilter-devel Return-path: To: Martin Josefsson In-Reply-To: <20061101210914.306515682@wlug.westbo.se> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Martin Josefsson wrote: > Remove the usage of ASSERT_READ_LOCK/ASSERT_WRITE_LOCK in x_tables and > nf_conntrack, it didn't do anything, it was just an empty define and it > uglified the code. Fully agreed. I kept them mainly in case something similar would show up for kernel-wide use, but it doesn't looks that way and I stronly believe that readability helps a lot more to catch bugs. BTW, the patch doesn't touch any x_tables files, did you forgot to commit them?