summaryrefslogtreecommitdiff
path: root/protos.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-05 12:07:50 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-05 12:07:50 +0100
commit42e233eab7e6f5eb1a63545c526aa7dd34945bef (patch)
treeb632610418a3cbea2fe7dec5552771f4f734ab6c /protos.h
parent50802193c013bf79411111cf393b3aafa5ad2dc5 (diff)
xmalloc: Remove unnecessary NULL check before realloc()
If realloc() is passed NULL as its first argument, it behaves like malloc(), so the check for ptr begin NULL is not necessary Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'protos.h')
0 files changed, 0 insertions, 0 deletions
vectors to the pre and post vectors, and not having any left for the actually spread IRQs. Fix this issue by not asking for affinity assignment when there are no vectors to assign left. Fixes: 402723ad5c62 ("PCI/MSI: Provide pci_alloc_irq_vectors_affinity()") Link: https://lkml.kernel.org/r/1485359225.3093.3.camel@sandisk.com Reported-by: Bart Van Assche <bart.vanassche@sandisk.com> Tested-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_sendto.c')