diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-12-11 12:27:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-14 16:16:45 -0500 |
commit | 476933ce9fedaa723f13c2aabd2aa26dfcdceb15 (patch) | |
tree | 5ef8f7c06ac72666920940bd137ced0761d6b1b9 /drivers/s390 | |
parent | 577777359e1f47d0cb7dfc23aac0da867a14af00 (diff) | |
download | linux-476933ce9fedaa723f13c2aabd2aa26dfcdceb15.tar.bz2 |
qeth: get rid of redundant 0-termination
0-termination is redundant, since sprintf has done that.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index fe1845acf560..787153764120 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -2684,8 +2684,6 @@ void qeth_print_status_message(struct qeth_card *card) sprintf(card->info.mcl_level, "%02x%02x", card->info.mcl_level[2], card->info.mcl_level[3]); - - card->info.mcl_level[QETH_MCL_LENGTH] = 0; break; } /* fallthrough */ |