net: ena: remove set but not used variable 'hash_key'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 18 Feb 2020 06:21:54 +0000 (14:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2020 06:32:50 +0000 (22:32 -0800)
commitb182a66792feb706c62e50c31db8546ca4ff168e
treecbc80d16fce0dbe56b388eb926a9ec03d9b9422e
parent2b73812483e953ebff35d5624149d645df7a3022
net: ena: remove set but not used variable 'hash_key'

drivers/net/ethernet/amazon/ena/ena_com.c: In function ena_com_hash_key_allocate:
drivers/net/ethernet/amazon/ena/ena_com.c:1070:50:
 warning: variable hash_key set but not used [-Wunused-but-set-variable]

commit 6a4f7dc82d1e ("net: ena: rss: do not allocate key when not supported")
introduced this, but not used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c