Re: [PATCH] zd1211rw: cleanups

2006-08-13 Thread Michael Buesch
On Saturday 12 August 2006 19:00, Daniel Drake wrote: --- linux-2.6.orig/drivers/net/wireless/zd1211rw/zd_mac.c +++ linux-2.6/drivers/net/wireless/zd1211rw/zd_mac.c @@ -127,11 +127,9 @@ out: void zd_mac_clear(struct zd_mac *mac) { - /* Aquire the lock. */ - spin_lock(mac-lock);

Re: [PATCH] zd1211rw: cleanups

2006-08-13 Thread Ulrich Kunitz
On 06-08-13 11:24 Michael Buesch wrote: On Saturday 12 August 2006 19:00, Daniel Drake wrote: --- linux-2.6.orig/drivers/net/wireless/zd1211rw/zd_mac.c +++ linux-2.6/drivers/net/wireless/zd1211rw/zd_mac.c @@ -127,11 +127,9 @@ out: void zd_mac_clear(struct zd_mac *mac) { - /*

[PATCH] zd1211rw: cleanups

2006-08-12 Thread Daniel Drake
From: Ulrich Kunitz [EMAIL PROTECTED] Add static to 2 internal functions. Thanks goes to Adrian Bunk, who found that. Also made some modifications to the clear functions: After a discussion on the mailing list, I implemented this code to have on the one hand sufficient test in debug mode, but