net/ena/base: add missing unlikely
authorMichal Krawczyk <mk@semihalf.com>
Thu, 17 Sep 2020 05:30:28 +0000 (07:30 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:09 +0000 (19:19 +0200)
commit41083bd532ef13f6a0b0d26b0b28de68789a2d7f
treec2f06efb6d4ccbe37f25a72282247703abdf94f3
parent1e964c595ac92a0aa050b9aecd8c1ec17b151985
net/ena/base: add missing unlikely

To align the error checking code with other parts of the ena_com,
the conditional check is being tested for the error was wrapped inside
unlikely().

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/ena/base/ena_com.c