[PATCH] kfree cleanup: drivers/s390
This is the drivers/s390/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/s390/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Acked-by: Cornelia Huck <cohuck@de.ibm.com> Acked-by: Stefan Bader <Stefan.Bader@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
3c7208f253
commit
17fd682e54
@@ -78,8 +78,7 @@ kfree_fsm(fsm_instance *this)
|
||||
{
|
||||
if (this) {
|
||||
if (this->f) {
|
||||
if (this->f->jumpmatrix)
|
||||
kfree(this->f->jumpmatrix);
|
||||
kfree(this->f->jumpmatrix);
|
||||
kfree(this->f);
|
||||
}
|
||||
kfree(this);
|
||||
|
Reference in New Issue
Block a user