ehea: remove set but not used variables 'epa' and 'cq_handle_ref'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 3 Apr 2019 07:52:08 +0000 (15:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:36:23 +0000 (17:36 -0700)
commitfe1ec0bdfba4e7bfe6db81a1e4ac74beb36691e8
tree66f2ee9abc3d3c49c96fde3793589570dc98de47
parent1789b8aabefb3e87456a4c63fe547bb330b16fe0
ehea: remove set but not used variables 'epa' and 'cq_handle_ref'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/ibm/ehea/ehea_qmr.c: In function 'ehea_create_cq':
drivers/net/ethernet/ibm/ehea/ehea_qmr.c:127:7: warning: variable 'cq_handle_ref' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/ibm/ehea/ehea_qmr.c:126:15: warning: variable 'epa' set but not used [-Wunused-but-set-variable]

They are never used since commit
7a291083225a ("[PATCH] ehea: IBM eHEA Ethernet Device Driver")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_qmr.c