[patch 4/4] lock validator: fix qeth compile warning

From: Heiko Carstens
Date: Fri Jun 23 2006 - 09:27:26 EST


From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

Add #ifdef CONFIG_LOCKDEP to avoid compile warning.

Cc: Frank Pavlic <fpavlic@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---

drivers/s390/net/qeth_main.c | 2 ++
1 file changed, 2 insertions(+)

Index: linux-2.6.17-mm1/drivers/s390/net/qeth_main.c
===================================================================
--- linux-2.6.17-mm1.orig/drivers/s390/net/qeth_main.c
+++ linux-2.6.17-mm1/drivers/s390/net/qeth_main.c
@@ -85,7 +85,9 @@ static debug_info_t *qeth_dbf_qerr = NUL

DEFINE_PER_CPU(char[256], qeth_dbf_txt_buf);

+#ifdef CONFIG_LOCKDEP
static struct lockdep_type_key qdio_out_skb_queue_key;
+#endif

/**
* some more definitions and declarations
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/