From: Rasmus Villemoes Date: Fri, 11 Dec 2015 11:27:57 +0000 (+0100) Subject: qeth: get rid of redundant 0-termination X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=476933ce9fedaa723f13c2aabd2aa26dfcdceb15;p=linux.git qeth: get rid of redundant 0-termination 0-termination is redundant, since sprintf has done that. Signed-off-by: Rasmus Villemoes Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index fe1845acf560f..787153764120c 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 */