projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/net: Remove pointless checks for NULL prior to calling kfree()
[deliverable/linux.git]
/
drivers
/
net
/
irda
/
irport.c
diff --git
a/drivers/net/irda/irport.c
b/drivers/net/irda/irport.c
index 5971315f3fa0c919f835e67ee538d26aae0ccc52..3d016a498e1d928418c1bb02855e37e50cbba49d 100644
(file)
--- a/
drivers/net/irda/irport.c
+++ b/
drivers/net/irda/irport.c
@@
-235,8
+235,7
@@
static int irport_close(struct irport_cb *self)
__FUNCTION__, self->io.sir_base);
release_region(self->io.sir_base, self->io.sir_ext);
- if (self->tx_buff.head)
- kfree(self->tx_buff.head);
+ kfree(self->tx_buff.head);
if (self->rx_buff.skb)
kfree_skb(self->rx_buff.skb);
This page took
0.025592 seconds
and
5
git commands to generate.