Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 476933ce authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by David S. Miller
Browse files

qeth: get rid of redundant 0-termination



0-termination is redundant, since sprintf has done that.

Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarUrsula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 57777735
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 */