[SCSI] fusion-kfree-cleanup
This patch is originally From: Jesper Juhl <juhl-lkml@dif.dk> This patch gets rid of redundant NULL checks prior to calling kfree() in drivers/message/* There are also a few small whitespace changes in there. Signed-off-by: Eric Moore <Eric.Moore@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
3fadc59d60
commit
d485eb8305
@@ -538,8 +538,8 @@ mpt_lan_close(struct net_device *dev)
|
||||
}
|
||||
}
|
||||
|
||||
kfree (priv->RcvCtl);
|
||||
kfree (priv->mpt_rxfidx);
|
||||
kfree(priv->RcvCtl);
|
||||
kfree(priv->mpt_rxfidx);
|
||||
|
||||
for (i = 0; i < priv->tx_max_out; i++) {
|
||||
if (priv->SendCtl[i].skb != NULL) {
|
||||
|
Reference in New Issue
Block a user