octeontx2-af: remove unused cgx_fwi_link_change
authorArnd Bergmann <arnd@arndb.de>
Fri, 12 Oct 2018 19:52:22 +0000 (21:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:31:54 +0000 (22:31 -0700)
commit44eb385bc5f315c3707ffdaffd5cb9d3e78c1839
treed1cfd50cb4e54adaf3f81a3eb15e10ce7728d98d
parent5948185b97fa1f83d7855e638a72982a1073ebf5
octeontx2-af: remove unused cgx_fwi_link_change

The newly added driver causes a warning about a function that is
not used anywhere:

drivers/net/ethernet/marvell/octeontx2/af/cgx.c:320:12: error: 'cgx_fwi_link_change' defined but not used [-Werror=unused-function]

Remove it for now, until a user gets added. If we want to use this
function from another module, we also need a declaration in a header
file, which is currently missing, so it would have to change anyway.

Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/cgx.c