cnic: remove redundant pointer req and variable func
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Jul 2018 07:39:12 +0000 (08:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 13:39:11 +0000 (22:39 +0900)
commitb68431ace4b60ac58fef92c0d70b61b3d2cba165
tree574b9a8650a64b9d4ce448945168a6d3e2823932
parent15cdd5764a547caf7c9ab14306829135c616845d
cnic: remove redundant pointer req and variable func

Pointer req and variable func are being assigned but are never used
hence they are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'req' set but not used [-Wunused-but-set-variable]
warning: variable 'func' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c