]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add unlikely for dma_mapping_error check
authorJian Shen <shenjian15@huawei.com>
Fri, 21 Sep 2018 15:41:44 +0000 (16:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:29:32 +0000 (19:29 -0700)
commitfeb670b368f1923bf1c880dc52389b94f9175a1a
treee757dd4a2523082e3580b356f91421a3aff20293
parent5f49c8ce7a43999bc08f5b8651f818792760654b
net: hns3: Add unlikely for dma_mapping_error check

For dma_mapping_error is unlikely happened, this patch adds unlikely for
dma_mapping_error check.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c