net/ena: fix return of hash control flushing
authorYong Wang <wang.yong19@zte.com.cn>
Tue, 14 Feb 2017 12:37:43 +0000 (07:37 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:40 +0000 (18:59 +0200)
commit1207f3f722f2103f3e796b450563745ccfc3beb5
tree6a444f76d97eed0a5c6c834a151eb3624b8d0992
parent70153557a9ad0a7d9a61ca42873bbe38b1b836de
net/ena: fix return of hash control flushing

In function ena_com_set_hash_ctrl(), the return value is assigned to
"ret" variable, but it is not returned. Fix it by adding the return.

Fixes: 99ecfbf845b3 ("ena: import communication layer")
Cc: stable@dpdk.org
Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Jan Medala <jan@semihalf.com>
drivers/net/ena/base/ena_com.c