]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add unlikely for buf_num check
authorPeng Li <lipeng321@huawei.com>
Wed, 19 Sep 2018 17:29:48 +0000 (18:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:20:22 +0000 (21:20 -0700)
commit8c85cdb9349b5864161e0ae42f1b81234ff9622c
tree2f8de9dc64ca05932079ac9194bd11a07309d0d5
parent3a428e785da9ede30144f5d71df279c404845583
net: hns3: Add unlikely for buf_num check

This patch adds unlikely for buf_num check.

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