diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c index f4ff515db2515b3b8a48cf9bb9db397b5ba7b23a..0da3ae3cd63b3ae549e770f387a90237a594163a 100644 --- a/drivers/s390/char/monreader.c +++ b/drivers/s390/char/monreader.c @@ -174,8 +174,7 @@ static void mon_free_mem(struct mon_private *monpriv) int i; for (i = 0; i < MON_MSGLIM; i++) - if (monpriv->msg_array[i]) - kfree(monpriv->msg_array[i]); + kfree(monpriv->msg_array[i]); kfree(monpriv); }