diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-08-18 16:27:04 -0400 |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 05:22:02 -0500 |
commit | b6297cd2aa4ec318b3634e6c1ca4cf063a0042c9 (patch) | |
tree | 6a44cc0c0b3fcc26e1ec2e6aad07addd523bd840 | |
parent | 9406f79775a5374b932ac45ae9e84a71032a9d33 (diff) |
iwlegacy: remove IL_CRIT
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-4965-lib.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-debug.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl3945-base.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-lib.c b/drivers/net/wireless/iwlegacy/iwl-4965-lib.c index f4df28d5973c..6503b8faf08b 100644 --- a/drivers/net/wireless/iwlegacy/iwl-4965-lib.c +++ b/drivers/net/wireless/iwlegacy/iwl-4965-lib.c | |||
@@ -309,7 +309,7 @@ static void il4965_rx_allocate(struct il_priv *il, gfp_t priority) | |||
309 | 309 | ||
310 | if ((rxq->free_count <= RX_LOW_WATERMARK) && | 310 | if ((rxq->free_count <= RX_LOW_WATERMARK) && |
311 | net_ratelimit()) | 311 | net_ratelimit()) |
312 | IL_CRIT( | 312 | IL_ERR( |
313 | "Failed to alloc_pages with %s. " | 313 | "Failed to alloc_pages with %s. " |
314 | "Only %u free buffers remaining.\n", | 314 | "Only %u free buffers remaining.\n", |
315 | priority == GFP_ATOMIC ? | 315 | priority == GFP_ATOMIC ? |
diff --git a/drivers/net/wireless/iwlegacy/iwl-debug.h b/drivers/net/wireless/iwlegacy/iwl-debug.h index 373188df7cc8..77467de7e028 100644 --- a/drivers/net/wireless/iwlegacy/iwl-debug.h +++ b/drivers/net/wireless/iwlegacy/iwl-debug.h | |||
@@ -35,7 +35,6 @@ extern u32 il_debug_level; | |||
35 | #define IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a) | 35 | #define IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a) |
36 | #define IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a) | 36 | #define IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a) |
37 | #define IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a) | 37 | #define IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a) |
38 | #define IL_CRIT(f, a...) dev_crit(&il->pci_dev->dev, f, ## a) | ||
39 | 38 | ||
40 | #define il_print_hex_error(il, p, len) \ | 39 | #define il_print_hex_error(il, p, len) \ |
41 | do { \ | 40 | do { \ |
diff --git a/drivers/net/wireless/iwlegacy/iwl3945-base.c b/drivers/net/wireless/iwlegacy/iwl3945-base.c index 8a6b1937336c..66aa8505f4fe 100644 --- a/drivers/net/wireless/iwlegacy/iwl3945-base.c +++ b/drivers/net/wireless/iwlegacy/iwl3945-base.c | |||
@@ -1043,7 +1043,7 @@ static void il3945_rx_allocate(struct il_priv *il, gfp_t priority) | |||
1043 | D_INFO("Failed to allocate SKB buffer.\n"); | 1043 | D_INFO("Failed to allocate SKB buffer.\n"); |
1044 | if ((rxq->free_count <= RX_LOW_WATERMARK) && | 1044 | if ((rxq->free_count <= RX_LOW_WATERMARK) && |
1045 | net_ratelimit()) | 1045 | net_ratelimit()) |
1046 | IL_CRIT("Failed to allocate SKB buffer with %s. Only %u free buffers remaining.\n", | 1046 | IL_ERR("Failed to allocate SKB buffer with %s. Only %u free buffers remaining.\n", |
1047 | priority == GFP_ATOMIC ? "GFP_ATOMIC" : "GFP_KERNEL", | 1047 | priority == GFP_ATOMIC ? "GFP_ATOMIC" : "GFP_KERNEL", |
1048 | rxq->free_count); | 1048 | rxq->free_count); |
1049 | /* We don't reschedule replenish work here -- we will | 1049 | /* We don't reschedule replenish work here -- we will |