aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/lcs.c
diff options
context:
space:
mode:
authorKlaus-D. Wacker <kdwacker@de.ibm.com>2008-07-14 03:59:42 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:24 -0400
commit6b648063eb51e2620774ddaebef4e07f2f6f4ae7 (patch)
tree32bdf60142115d0361e5664928e98b34b91b4577 /drivers/s390/net/lcs.c
parent5532bd0f8591a5f61cfe903646e1f55e047bae90 (diff)
[S390] Cleanup lcs printk messages.
Cc: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Klaus-D. Wacker <kdwacker@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/lcs.c')
-rw-r--r--drivers/s390/net/lcs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c
index 586cca21da95..6de28385b354 100644
--- a/drivers/s390/net/lcs.c
+++ b/drivers/s390/net/lcs.c
@@ -1762,7 +1762,7 @@ lcs_get_control(struct lcs_card *card, struct lcs_cmd *cmd)
1762 netif_carrier_off(card->dev); 1762 netif_carrier_off(card->dev);
1763 break; 1763 break;
1764 default: 1764 default:
1765 PRINT_INFO("UNRECOGNIZED LGW COMMAND\n"); 1765 LCS_DBF_TEXT(5, trace, "noLGWcmd");
1766 break; 1766 break;
1767 } 1767 }
1768 } else 1768 } else
@@ -2043,13 +2043,12 @@ lcs_probe_device(struct ccwgroup_device *ccwgdev)
2043 LCS_DBF_TEXT(2, setup, "add_dev"); 2043 LCS_DBF_TEXT(2, setup, "add_dev");
2044 card = lcs_alloc_card(); 2044 card = lcs_alloc_card();
2045 if (!card) { 2045 if (!card) {
2046 PRINT_ERR("Allocation of lcs card failed\n"); 2046 LCS_DBF_TEXT_(2, setup, " rc%d", -ENOMEM);
2047 put_device(&ccwgdev->dev); 2047 put_device(&ccwgdev->dev);
2048 return -ENOMEM; 2048 return -ENOMEM;
2049 } 2049 }
2050 ret = sysfs_create_group(&ccwgdev->dev.kobj, &lcs_attr_group); 2050 ret = sysfs_create_group(&ccwgdev->dev.kobj, &lcs_attr_group);
2051 if (ret) { 2051 if (ret) {
2052 PRINT_ERR("Creating attributes failed");
2053 lcs_free_card(card); 2052 lcs_free_card(card);
2054 put_device(&ccwgdev->dev); 2053 put_device(&ccwgdev->dev);
2055 return ret; 2054 return ret;
@@ -2141,7 +2140,6 @@ lcs_new_device(struct ccwgroup_device *ccwgdev)
2141 default: 2140 default:
2142 LCS_DBF_TEXT(3, setup, "errinit"); 2141 LCS_DBF_TEXT(3, setup, "errinit");
2143 PRINT_ERR("LCS: Initialization failed\n"); 2142 PRINT_ERR("LCS: Initialization failed\n");
2144 PRINT_ERR("LCS: No device found!\n");
2145 goto out; 2143 goto out;
2146 } 2144 }
2147 if (!dev) 2145 if (!dev)
@@ -2270,7 +2268,6 @@ lcs_remove_device(struct ccwgroup_device *ccwgdev)
2270 if (!card) 2268 if (!card)
2271 return; 2269 return;
2272 2270
2273 PRINT_INFO("Removing lcs group device ....\n");
2274 LCS_DBF_TEXT(3, setup, "remdev"); 2271 LCS_DBF_TEXT(3, setup, "remdev");
2275 LCS_DBF_HEX(3, setup, &card, sizeof(void*)); 2272 LCS_DBF_HEX(3, setup, &card, sizeof(void*));
2276 if (ccwgdev->state == CCWGROUP_ONLINE) { 2273 if (ccwgdev->state == CCWGROUP_ONLINE) {