]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
remove unused mutex hpidebuglock
authorMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 27 Mar 2012 23:44:21 +0000 (16:44 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 2 Apr 2012 17:51:14 +0000 (10:51 -0700)
Remove unused mutex and clean up following warnings
drivers/net/hxge/hpi/hpi.c:35: warning: data definition has no type or storage class
drivers/net/hxge/hpi/hpi.c:35: warning: type defaults to "int" in declaration of "DECLARE_MUTEX"
drivers/net/hxge/hpi/hpi.c:35: warning: parameter names (without types) in function declaration

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
drivers/net/hxge/hpi/hpi.c

index 6b53a730efdc6c7696073060d17cc334e114e5fd..d94218806fbfa16501e425d2bfb3ff74660deb12 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/semaphore.h>
 #endif
 
-DECLARE_MUTEX(hpidebuglock);
 int hpi_debug_init = 0;
 uint64_t hpi_debug_level = 0;