]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
freescale: ethernet: remove unnecessary unlikely()
authorIgor Stoppa <igor.stoppa@gmail.com>
Fri, 7 Sep 2018 17:23:18 +0000 (20:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Sep 2018 21:49:41 +0000 (14:49 -0700)
commit0fdc0d675b92ba8e0f4a5a7845b0c12c8e1baee2
tree29921273300eb81ce69dbf5fe3f3124ae6211a73
parent38bb4ac91bd8322cfed9d9b922ef2d8f5daa5700
freescale: ethernet: remove unnecessary unlikely()

Both WARN_ON() and WARN_ONCE() already contain an unlikely(), so it's not
necessary to wrap it into another.

Signed-off-by: Igor Stoppa <igor.stoppa@huawei.com>
Cc: Madalin Bucur <madalin.bucur@nxp.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c