mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
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>
This commit is contained in:
parent
577777359e
commit
476933ce9f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user