xsk: Remove a double pool->dev assignment in xp_dma_map
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Jun 2020 13:03:58 +0000 (15:03 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 30 Jun 2020 13:44:03 +0000 (15:44 +0200)
commit53937ff7bc776aac647d0b3004d7cd21861b0f78
tree78d930bf19fff69889416a46a3f6bad515893b10
parent91d5b70273267bbae6f5d1fb4cf3510bd31ef9ff
xsk: Remove a double pool->dev assignment in xp_dma_map

->dev is already assigned at the top of the function, remove the duplicate
one at the end.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200629130359.2690853-4-hch@lst.de
net/xdp/xsk_buff_pool.c