You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
firewire: remove unnecessary alloc/OOM messages
These are redundant to log messages from the mm core. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
@@ -368,10 +368,8 @@ static struct fwnet_fragment_info *fwnet_frag_new(
|
||||
}
|
||||
|
||||
new = kmalloc(sizeof(*new), GFP_ATOMIC);
|
||||
if (!new) {
|
||||
dev_err(&pd->skb->dev->dev, "out of memory\n");
|
||||
if (!new)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
new->offset = offset;
|
||||
new->len = len;
|
||||
@@ -414,8 +412,6 @@ fail_w_fi:
|
||||
fail_w_new:
|
||||
kfree(new);
|
||||
fail:
|
||||
dev_err(&net->dev, "out of memory\n");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -692,7 +688,6 @@ static int fwnet_incoming_packet(struct fwnet_device *dev, __be32 *buf, int len,
|
||||
|
||||
skb = dev_alloc_skb(len + LL_RESERVED_SPACE(net));
|
||||
if (unlikely(!skb)) {
|
||||
dev_err(&net->dev, "out of memory\n");
|
||||
net->stats.rx_dropped++;
|
||||
|
||||
return -ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user