diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2005-11-07 04:01:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:54:03 -0500 |
commit | 17fd682e544556a2a829e94383239c029bb21c5e (patch) | |
tree | 4b78bdd36efdbf9fb2c4c11382ed88898ceec48c /drivers/s390/net/fsm.c | |
parent | 3c7208f253571ee5f157b98f0e315b5172afe092 (diff) |
[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>
Diffstat (limited to 'drivers/s390/net/fsm.c')
-rw-r--r-- | drivers/s390/net/fsm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/net/fsm.c b/drivers/s390/net/fsm.c index 38f50b7129a2..24029bd9c7d0 100644 --- a/drivers/s390/net/fsm.c +++ b/drivers/s390/net/fsm.c | |||
@@ -78,8 +78,7 @@ kfree_fsm(fsm_instance *this) | |||
78 | { | 78 | { |
79 | if (this) { | 79 | if (this) { |
80 | if (this->f) { | 80 | if (this->f) { |
81 | if (this->f->jumpmatrix) | 81 | kfree(this->f->jumpmatrix); |
82 | kfree(this->f->jumpmatrix); | ||
83 | kfree(this->f); | 82 | kfree(this->f); |
84 | } | 83 | } |
85 | kfree(this); | 84 | kfree(this); |